diff options
author | M.Gergo | 2021-05-17 17:50:05 +0200 |
---|---|---|
committer | M.Gergo | 2021-05-17 17:50:05 +0200 |
commit | ef8b3fd973fa34b303370d5acc21744e57bca507 (patch) | |
tree | 67a42f55b0f36f024c33d8892c1112e8c5746556 /mayor-orig/mayor-base/www/skin/default | |
parent | fb24a50c54d5776468e49def08aea44c4077eb47 (diff) | |
download | mayor-rev4787.tar.gz mayor-rev4787.zip |
Rev: 4787rev4787
Diffstat (limited to 'mayor-orig/mayor-base/www/skin/default')
-rw-r--r-- | mayor-orig/mayor-base/www/skin/default/base/html/base.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml index 78a5dea8..b018c8d4 100644 --- a/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml +++ b/mayor-orig/mayor-base/www/skin/default/base/html/base.phtml @@ -180,7 +180,7 @@ function ajaxUpdaterForm($id, $url, $params, $method, $forEcho=false) { $t = '<form method="'.$method.'" action="'.href($url.'&toSkin='.$skin).'" class="onLoadUpdate" id="'.$id.'">'."\n"; if ($_SESSION['mayorToken']!='') $t .= '<input class="mayorToken" type="hidden" name="mayorToken" value="'.$_SESSION['mayorToken'].'" />'; - foreach ($params as $name => $value) $t .= '<input type="hidden" name="'.$name.'" value="'.$value.'" />'."\n"; + if (is_array($params)) foreach ($params as $name => $value) $t .= '<input type="hidden" name="'.$name.'" value="'.$value.'" />'."\n"; $t .= '</form>'; if ($forEcho) return $t; else echo $t; |