Fix: better test
This commit is contained in:
parent
20e80a58a8
commit
c720345e6d
@ -55,7 +55,7 @@ $search_lang=GETPOST('search_lang','alpha');
|
||||
$search_fk_user=GETPOST('search_fk_user','intcomma');
|
||||
$search_topic=GETPOST('search_topic','alpha');
|
||||
|
||||
if ($user->socid) accessforbidden();
|
||||
if (! empty($user->socid)) accessforbidden();
|
||||
|
||||
$acts[0] = "activate";
|
||||
$acts[1] = "disable";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user