Strict mode war

This commit is contained in:
Laurent Destailleur
2012-09-05 14:41:45 +02:00
parent 5878dd5e40
commit d02076f8f2
4 changed files with 18 additions and 19 deletions

View File

@@ -1413,7 +1413,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me
$searchform.=$hookmanager->executeHooks('printSearchForm',$parameters); // Note that $action and $object may have been modified by some hooks
// Define $bookmarks
if ($conf->bookmark->enabled && $user->rights->bookmark->lire)
if (! empty($conf->bookmark->enabled) && $user->rights->bookmark->lire)
{
include_once (DOL_DOCUMENT_ROOT.'/bookmarks/bookmarks.lib.php');
$langs->load("bookmarks");