Skip to content
Snippets Groups Projects
Commit f375c419 authored by Laurent Destailleur's avatar Laurent Destailleur Committed by GitHub
Browse files

Update card.php

parent 76bee575
No related branches found
No related tags found
No related merge requests found
......@@ -54,12 +54,12 @@ if ($user->societe_id > 0)
accessforbidden();
}
if( ! $user->rights->resource->read)
if (! $user->rights->resource->read)
accessforbidden();
$object = new Dolresource($db);
$objectFetchRes = $object->fetch($id);
if ( !$objectFetchRes> 0 ) dol_print_error();
if (! ($objectFetchRes > 0)) dol_print_error($db, $object->error);
$extrafields = new ExtraFields($db);
......
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