From f71b8735e13880393e76bee1792067a9f4c21ba9 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Sat, 15 Apr 2017 19:46:38 +0700 Subject: [PATCH] fix sql query --- application/classes/modules/talk/mapper/Talk.mapper.class.php | 2 +- framework | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/classes/modules/talk/mapper/Talk.mapper.class.php b/application/classes/modules/talk/mapper/Talk.mapper.class.php index e68fdf03..9ac32469 100644 --- a/application/classes/modules/talk/mapper/Talk.mapper.class.php +++ b/application/classes/modules/talk/mapper/Talk.mapper.class.php @@ -402,7 +402,7 @@ class ModuleTalk_MapperTalk extends Mapper WHERE talk_id = ? { AND user_id NOT IN (?a) }"; - $res = $this->oDb->select($sql, $sTalkId, !is_null($aExcludeId) ? $aExcludeId : DBSIMPLE_SKIP); + $res = $this->oDb->query($sql, $sTalkId, !is_null($aExcludeId) ? $aExcludeId : DBSIMPLE_SKIP); return $this->IsSuccessful($res); } diff --git a/framework b/framework index 955619fc..190a81d0 160000 --- a/framework +++ b/framework @@ -1 +1 @@ -Subproject commit 955619fcd2139f549e8cc2ab0f34df029b1ca652 +Subproject commit 190a81d0209140e4fc5ae3607591b09feb016338