Update journals_list.php

This commit is contained in:
Laurent Destailleur 2017-07-07 20:05:32 +02:00 committed by GitHub
parent 2dd9cb61a6
commit 5eaf49a265

View File

@ -41,7 +41,7 @@ $rowid=GETPOST('rowid','alpha');
$code=GETPOST('code','alpha');
// Security access
if (!$user->rights->accounting->chartofaccount)
if (empty($user->rights->accounting->chartofaccount))
{
accessforbidden();
}
@ -743,4 +743,4 @@ function fieldList($fieldlist, $obj='', $tabname='', $context='')
print '</td>';
}
}
}
}