]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/userrss.php
Publish MicroIDs for email and mpp on profile and notice pages.
[quix0rs-gnu-social.git] / actions / userrss.php
index 445afeca57de0c0e4949ec4e69c8898310b2f67a..2ae45dc9cd25d8ef094db12ea80a6a69f4f32083 100644 (file)
@@ -32,7 +32,7 @@ class UserrssAction extends Rss10Action {
                $this->user = User::staticGet('nickname', $nickname);
 
                if (!$this->user) {
-                       common_user_error(_('No such nickname.'));
+                       common_user_error(_('No such user.'));
                        return false;
                } else {
                        return true;
@@ -46,7 +46,7 @@ class UserrssAction extends Rss10Action {
 
                $notice = DB_DataObject::factory('notice');
                $notice->profile_id = $user->id; # user id === profile id
-               $notice->orderBy('created DESC');
+               $notice->orderBy('created DESC, notice.id DESC');
                if ($limit != 0) {
                        $notice->limit(0, $limit);
                }