Fix typo
This commit is contained in:
parent
06804c3547
commit
dc9d8336f5
@ -197,7 +197,7 @@ if ($user->socid > 0) accessforbidden();
|
||||
//$socid = 0; if ($user->socid > 0) $socid = $user->socid;
|
||||
//$isdraft = (($object->status == $object::STATUS_DRAFT) ? 1 : 0);
|
||||
//restrictedArea($user, $object->element, 0, $object->table_element, '', 'fk_soc', 'rowid', $isdraft);
|
||||
if (empty($conf->mymodule->enabled)) accessforbidden('Moule not enabled');
|
||||
if (empty($conf->mymodule->enabled)) accessforbidden('Module not enabled');
|
||||
if (!$permissiontoread) accessforbidden();
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user