From ef8b3fd973fa34b303370d5acc21744e57bca507 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 17 May 2021 17:50:05 +0200 Subject: Rev: 4787 --- mayor-orig/mayor-base/www/skin/default/base/html/base.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mayor-orig/mayor-base/www/skin/default') 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 = '
'."\n"; if ($_SESSION['mayorToken']!='') $t .= ''; - foreach ($params as $name => $value) $t .= ''."\n"; + if (is_array($params)) foreach ($params as $name => $value) $t .= ''."\n"; $t .= '
'; if ($forEcho) return $t; else echo $t; -- cgit v1.2.3