This commit is contained in:
liumengyi
2021-11-29 15:18:12 +08:00
parent e9ead71632
commit a3f5e8ab43
+2
View File
@@ -1136,6 +1136,7 @@ class actionModel extends model
if(strpos($action->objectLabel, '|') !== false)
{
list($objectLabel, $moduleName, $methodName, $vars) = explode('|', $action->objectLabel);
a();
/* Fix bug #2961. */
$isLoginOrLogout = $action->objectType == 'user' and ($action->action == 'login' or $action->action == 'logout');
@@ -1170,6 +1171,7 @@ class actionModel extends model
$libObjectID = trim($libObjectID, ',');
if(empty($libObjectID) and $type != 'custom') return false;
$vars = substr($vars,0,strpos($vars,'&docID'));
$params = sprintf($vars, $type, $libObjectID, $libID);
}
elseif($action->objectType == 'api')