Browse Source

FIX : Allow to set bookmarks on list filtered by multiselect fields

Adrien Raze 4 years ago
parent
commit
0f91c4cfa2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/bookmarks/bookmarks.lib.php

+ 1 - 1
htdocs/bookmarks/bookmarks.lib.php

@@ -53,7 +53,7 @@ function printDropdownBookmarksList()
         {
             foreach ($_POST as $key => $val)
             {
-                if (preg_match('/^search_/', $key) && $val != '') $tmpurl .= ($tmpurl ? '&' : '').$key.'='.$val;
+				if (preg_match('/^search_/', $key) && $val != '') $tmpurl .= ($tmpurl ? '&' : '').http_build_query(array($key => $val));
             }
         }
         $url .= ($tmpurl ? '?'.$tmpurl : '');