aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 16:24:28 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 16:24:28 +0000
commite3c9df5f51bd4e580ea0d15abfeda0145fc6c882 (patch)
tree2bddf3dbdaa0679d808386ca6f508162dd77c217
parent8a64083900b86e67f86f34c5e360e882096bc2ef (diff)
downloadelgg-e3c9df5f51bd4e580ea0d15abfeda0145fc6c882.tar.gz
elgg-e3c9df5f51bd4e580ea0d15abfeda0145fc6c882.tar.bz2
Closes #150
git-svn-id: https://code.elgg.org/elgg/trunk@1429 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/opendd/start.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/opendd/start.php b/mod/opendd/start.php
index d9e3ee9f7..ee4e2cdb4 100644
--- a/mod/opendd/start.php
+++ b/mod/opendd/start.php
@@ -330,11 +330,13 @@
foreach ($elements as $e)
$opendd_elements[] = $e;
- foreach ($opendd_elements as $k => $v)
- $opendd_published[$k] = $v->getPublishedAsTime();
+
}
}
+ foreach ($opendd_elements as $k => $v)
+ $opendd_published[$k] = $v->getPublishedAsTime();
+
// Sort by date (desc)
arsort($opendd_published);
$sorted_odd_elements = array();