]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showstream.php
back out my change to the link format; see if it helps
[quix0rs-gnu-social.git] / actions / showstream.php
index bd64a7be4af48b813363ea2789270bfe2d01222b..8980b4de159692c37130da710069d84dfd03c76d 100644 (file)
@@ -41,7 +41,7 @@ class ShowstreamAction extends StreamAction {
                $profile = $user->getProfile();
 
                if (!$profile) {
-                       common_server_error(_('User record exists without profile.'));
+                       common_server_error(_('User has no profile.'));
                        return;
                }
 
@@ -306,7 +306,7 @@ class ShowstreamAction extends StreamAction {
                $notice = DB_DataObject::factory('notice');
                $notice->profile_id = $profile->id;
 
-               $notice->orderBy('created DESC');
+               $notice->orderBy('created DESC, notice.id DESC');
 
                $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;