Fix bad test (dev journal visible when dev option on)
This commit is contained in:
parent
2db2ea3627
commit
3fa5649040
@ -1062,7 +1062,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
|
||||
if ($objp->nature == 9) $nature="hasnew";
|
||||
|
||||
// To enable when page exists
|
||||
if (! empty($conf->global->ACCOUNTANCY_SHOW_DEVELOP_JOURNAL))
|
||||
if (empty($conf->global->ACCOUNTANCY_SHOW_DEVELOP_JOURNAL))
|
||||
{
|
||||
if ($nature == 'various' || $nature == 'hasnew' || $nature == 'inventory') $nature='';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user