diff options
author | cash <cash.costello@gmail.com> | 2013-07-05 20:50:31 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-07-05 20:50:31 -0400 |
commit | d64cc6180d59768b33fd097bbcc87c91839aab0d (patch) | |
tree | e4fb4a4a8aaff2229fe1a1058409f5476369762c /mod/blog | |
parent | 597323ce5dece2597accbf98d55c2d2fa6891f4f (diff) | |
download | elgg-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.php | 2 |
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'); |