aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-07-05 20:50:31 -0400
committercash <cash.costello@gmail.com>2013-07-05 20:50:31 -0400
commitd64cc6180d59768b33fd097bbcc87c91839aab0d (patch)
treee4fb4a4a8aaff2229fe1a1058409f5476369762c /mod/blog
parent597323ce5dece2597accbf98d55c2d2fa6891f4f (diff)
downloadelgg-d64cc6180d59768b33fd097bbcc87c91839aab0d.tar.gz
elgg-d64cc6180d59768b33fd097bbcc87c91839aab0d.tar.bz2
Fixes #5699 reversing order of months on blog sidebar
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/views/default/blog/sidebar/archives.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/views/default/blog/sidebar/archives.php b/mod/blog/views/default/blog/sidebar/archives.php
index 3d8f28ca4..5098e6e3e 100644
--- a/mod/blog/views/default/blog/sidebar/archives.php
+++ b/mod/blog/views/default/blog/sidebar/archives.php
@@ -14,7 +14,7 @@ if (elgg_instanceof($page_owner, 'user')) {
// This is a limitation of the URL schema.
if ($page_owner && $vars['page'] != 'friends') {
- $dates = get_entity_dates('object', 'blog', $page_owner->getGUID());
+ $dates = array_reverse(get_entity_dates('object', 'blog', $page_owner->getGUID()));
if ($dates) {
$title = elgg_echo('blog:archives');