Merge pull request #22062 from FHenry/14_fix_22040_bis
fix: bookmark global declaration
This commit is contained in:
commit
317e28ff6f
@ -29,7 +29,7 @@
|
||||
*/
|
||||
function printDropdownBookmarksList()
|
||||
{
|
||||
global $conf, $user, $db, $langs;
|
||||
global $conf, $user, $db, $langs, $sortfield, $sortorder;
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT.'/bookmarks/class/bookmark.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
||||
@ -48,7 +48,6 @@ function printDropdownBookmarksList()
|
||||
}
|
||||
}
|
||||
}
|
||||
global $sortfield, $sortorder;
|
||||
$tmpurl = '';
|
||||
// No urlencode, all param $url will be urlencoded later
|
||||
if ($sortfield) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user