* Finish task #64967.

This commit is contained in:
tianshujie
2022-08-17 15:40:01 +08:00
parent 24e39026cc
commit 619068ea8d
3 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -244,9 +244,9 @@ class customModel extends model
{
$link = explode('|', $link);
list($label, $module, $method) = $link;
if(!empty($link[3])) parse_str($link[3], $app->params);
$hasPriv = commonModel::hasPriv($module, $method);
$params = empty($link[3]) ? '' : $link[3];
$hasPriv = commonModel::hasPriv($module, $method, null, $params);
/* Fix bug #20464 */
if(isset($vars)) unset($vars);