* adjust judgeSuhosinSetting method to static.
This commit is contained in:
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user