diff options
Diffstat (limited to 'classes/Profile.php')
-rw-r--r-- | classes/Profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index dba7ca8a5..d482e8d28 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -145,7 +145,7 @@ class Profile extends DB_DataObject if ($dt) { $notice->whereAdd('created < "' . $dt . '"'); } - $notice->orderBy('created DESC'); + $notice->orderBy('created DESC, notice.id DESC'); $notice->limit(1); if ($notice->find(true)) { return $notice; |