]> git.mxchange.org Git - friendica.git/commitdiff
wrong date order profile page
authorFriendika <info@friendika.com>
Mon, 28 Mar 2011 02:59:27 +0000 (19:59 -0700)
committerFriendika <info@friendika.com>
Mon, 28 Mar 2011 02:59:27 +0000 (19:59 -0700)
mod/profile.php

index 9544512bab422bc6b4cb338ccfd8b085ab3e4401..8fb483007fe4b899eca608692ade200bd2806cac 100644 (file)
@@ -260,7 +260,7 @@ function profile_content(&$a, $update = 0) {
                AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
                AND `item`.`id` = `item`.`parent` AND `item`.`wall` = 1
                $sql_extra
-               LIMIT %d ,%d ",
+               ORDER BY `item`.`created` DESC LIMIT %d ,%d ",
                intval($a->profile['profile_uid']),
                intval($a->pager['start']),
                intval($a->pager['itemspage'])