Merge pull request #5460 from atm-florian/fix_bug_introduceby_97eedb8
FIX : warning on urlencode into main.inc.php
This commit is contained in:
commit
df16aaea0c
@ -1482,7 +1482,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
|
|||||||
$qs=$_SERVER["QUERY_STRING"];
|
$qs=$_SERVER["QUERY_STRING"];
|
||||||
|
|
||||||
foreach($_POST as $key=>$value) {
|
foreach($_POST as $key=>$value) {
|
||||||
if($key!=='action')$qs.='&'.$key.'='.urlencode($value);
|
if($key!=='action' && !is_array($value))$qs.='&'.$key.'='.urlencode($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$qs.=(($qs && $morequerystring)?'&':'').$morequerystring;
|
$qs.=(($qs && $morequerystring)?'&':'').$morequerystring;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user