* 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
@@ -646,7 +646,7 @@ class bug extends control
/* Judge whether the editedTasks is too large and set session. */
$countInputVars = count($bugs) * (count(explode(',', $this->config->bug->custom->batchEditFields)) + 2);
$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*/