fix: better global declaration
This commit is contained in:
parent
f25ad40514
commit
7fe9784ddb
@ -29,9 +29,9 @@
|
||||
*/
|
||||
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.'/boo, kmarks/class/bookmark.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
||||
|
||||
$langs->load("bookmarks");
|
||||
@ -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