mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
scrutinizer in bookmarks/bookmarks.lib.php: variable $Bookmark not defined for all paths
This commit is contained in:
parent
034da214c0
commit
cabfc61ba3
|
|
@ -89,6 +89,7 @@ function printDropdownBookmarksList()
|
|||
$listbtn = '<a class="top-menu-dropdown-link" title="'.dol_escape_htmltag($langs->trans('Bookmarks')).'" href="'.DOL_URL_ROOT.'/bookmarks/list.php">';
|
||||
$listbtn .= img_picto('', 'edit', 'class="paddingright opacitymedium"').$langs->trans('EditBookmarks').'</a>';
|
||||
|
||||
$bookmarkList = '';
|
||||
// Menu with list of bookmarks
|
||||
$sql = "SELECT rowid, title, url, target FROM ".MAIN_DB_PREFIX."bookmark";
|
||||
$sql .= " WHERE (fk_user = ".((int) $user->id)." OR fk_user is NULL OR fk_user = 0)";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user