if ($user_id == NULL || $user_name == NULL || $user_logged == NULL) {
$user_id = '-1';
$user_name = NULL;
$user_logged = NULL;
}
if ($user_admin == NULL) {
$user_admin = NULL;
}
- Is there any shortest way to do it ?
- And if i right, it should be tested with
is_null? - It's possible
$user_id,$user_nameand$user_loggedwrite in one line (maybe array?) without repeatingNULL?