Debug v17

This commit is contained in:
Laurent Destailleur 2023-02-19 19:12:47 +01:00
parent 303dc71df8
commit b74d9829d1

View File

@ -38,7 +38,7 @@ function printDropdownBookmarksList()
$authorized_var=array('limit','optioncss','contextpage');
$url = $_SERVER["PHP_SELF"];
$url_param=array();
$url_param = array();
if (!empty($_SERVER["QUERY_STRING"])) {
if (is_array($_GET)) {
foreach ($_GET as $key => $val) {
@ -79,7 +79,7 @@ function printDropdownBookmarksList()
$url .= ($tmpurl ? '?'.$tmpurl : '');
if (!empty($url_param)) {
$url .= '&'.implode('&', $url_param);
$url .= (strpos($url, '?') > 0 ? '&' : '?').implode('&', $url_param);
}
$searchForm = '<!-- form with POST method by default, will be replaced with GET for external link by js -->'."\n";