* Notifications: fix sql query error happens for PostgreSQL

This commit is contained in:
Hadi Nategh 2018-06-27 10:13:34 +02:00
parent 44dfbe8ec7
commit bf9abdda2b

View File

@ -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) {