* fix bug #34750.
This commit is contained in:
@@ -1218,7 +1218,7 @@ class docModel extends model
|
||||
if($libID == 0 and $browseType != 'collectedbyme') return array();
|
||||
|
||||
$modules = $this->dao->select('*')->from(TABLE_MODULE)
|
||||
->where(1)
|
||||
->where('1=1')
|
||||
->beginIF($browseType != "collectedbyme")->andWhere('root')->eq($libID)->fi()
|
||||
->beginIF($browseType == "collectedbyme")->andWhere('collector')->like("%,{$this->app->user->account},%")->fi()
|
||||
->andWhere('type')->eq('doc')
|
||||
|
||||
Reference in New Issue
Block a user