* [bug#56718] fix view deleted doc.

This commit is contained in:
dingyongliang
2024-11-04 16:57:57 +08:00
committed by 田淑杰
parent b896f52fff
commit a3b4482cce
3 changed files with 7 additions and 4 deletions
+4
View File
@@ -111,6 +111,10 @@ class actionZen extends action
$params = "libID=0&moduelID=0&apiID={$trash->objectID}";
$methodName = 'index';
}
if($trash->objectType == 'doc')
{
$params = "docID={$trash->objectID}";
}
if(in_array($module, array('traincourse','traincontents')))
{
$methodName = $module == 'traincourse' ? 'viewcourse' : 'viewchapter';