Skip to content
Snippets Groups Projects
Commit 28ad819a authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: error in strict mode

parent 4d0301f5
No related branches found
No related tags found
No related merge requests found
......@@ -1206,7 +1206,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
else dol_print_error($db);
$db->free($resql);
}
if ($conf->ftp->enabled && $mainmenu == 'ftp') // Entry for FTP
if (!empty($conf->ftp->enabled) && $mainmenu == 'ftp') // Entry for FTP
{
$MAXFTP=20;
$i=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment