* adjust judgeSuhosinSetting method to static.

This commit is contained in:
wangyidong
2017-03-22 14:12:26 +08:00
parent cec824e540
commit 2eb5ee260a
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ class task extends control
/* Judge whether the editedTasks is too large and set session. */
$countInputVars = count($tasks) * (count(explode(',', $this->config->task->custom->batchEditFields)) + 3);
$showSuhosinInfo = $this->loadModel('common')->judgeSuhosinSetting($countInputVars);
$showSuhosinInfo = common::judgeSuhosinSetting($countInputVars);
if($showSuhosinInfo) $this->view->suhosinInfo = extension_loaded('suhosin') ? sprintf($this->lang->suhosinInfo, $countInputVars) : sprintf($this->lang->maxVarsInfo, $countInputVars);
/* Set Custom*/