diff --git a/notifications/inc/class.notifications_ajax.inc.php b/notifications/inc/class.notifications_ajax.inc.php index 92ace80549..1becf74759 100644 --- a/notifications/inc/class.notifications_ajax.inc.php +++ b/notifications/inc/class.notifications_ajax.inc.php @@ -180,7 +180,7 @@ class notifications_ajax { 'account_id' => $this->recipient->account_id, 'notify_type' => self::_type ), - __LINE__,__FILE__,false,'ORDER BY notify_id DESC LIMIT 0,100',self::_appname); + __LINE__,__FILE__,0 ,'ORDER BY notify_id DESC',self::_appname, 10); $result = array(); if ($rs->NumRows() > 0) { foreach ($rs as $notification) {