From 643316db3f2170c83c0b886ada3fd3a262f18409 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 13 Nov 2018 14:22:20 +0800 Subject: [PATCH] * code for task #5055. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index 5b8308bcf3..9f026ade84 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -187,7 +187,7 @@ class docModel extends model if($libs === null) { $libs = array(); - $stmt = $this->dao->select('lib,groups,users')->from(TABLE_DOC)->where('acl')->ne('open')->andWhere("(groups != '' or users != '')")->query(); + $stmt = $this->dao->select('lib,`groups`,users')->from(TABLE_DOC)->where('acl')->ne('open')->andWhere("(`groups` != '' or users != '')")->query(); $account = ",{$this->app->user->account},"; $userGroups = $this->app->user->groups;