From 62b5796387f8164930f3150e8e5bbf2367792497 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 27 Jun 2018 10:13:34 +0200 Subject: [PATCH] * Notifications: fix sql query error happens for PostgreSQL --- notifications/inc/class.notifications_ajax.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {