summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r--core/helpers/core_block.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php
index a15abd48..16af66b0 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -42,14 +42,14 @@ class core_block_Core {
$block->title = t("Photo Stream");
$block->content = new View("admin_block_photo_stream.html");
$block->content->photos =
- ORM::factory("item")->where("type", "photo")->orderby("created", "desc")->find_all(10);
+ ORM::factory("item")->where("type", "photo")->orderby("created", "DESC")->find_all(10);
break;
case "log_entries":
$block->css_id = "gLogEntries";
$block->title = t("Log Entries");
$block->content = new View("admin_block_log_entries.html");
- $block->content->entries = ORM::factory("log")->orderby("timestamp", "desc")->find_all(5);
+ $block->content->entries = ORM::factory("log")->orderby("timestamp", "DESC")->find_all(5);
break;
case "stats":