Update categories.php

This commit is contained in:
Laurent Destailleur 2017-07-07 20:03:14 +02:00 committed by GitHub
parent a4b1c28696
commit 0fc6f6920e

View File

@ -46,7 +46,7 @@ if ($cat_id == 0) {
} }
// Security check // Security check
if (! $user->rights->accounting-->chartofaccount) if (empty($user->rights->accounting->chartofaccount))
{ {
accessforbidden(); accessforbidden();
} }