diff --git a/module/doc/model.php b/module/doc/model.php index 89c7f3e4b8..031fe81dd0 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -666,7 +666,7 @@ class docModel extends model ->leftJoin(TABLE_DOCLIB)->alias('t3')->on("t1.lib=t3.id") ->where('t1.deleted')->eq(0) ->andWhere('t1.lib')->ne('') - ->andWhere('t1.type')->in('text,word,ppt,excel,url,article') + ->andWhere('t1.type')->in('text,word,ppt,excel,url,article,attachment') ->andWhere('t1.vision')->eq($this->config->vision) ->andWhere('t2.action')->eq($type) ->andWhere('t2.actor')->eq($this->app->user->account)