some polishing
This commit is contained in:
parent
2e03a3a47f
commit
049a4f5f86
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ function register_post(App $a)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$netpublish = (((x($_POST, 'profile_publish_reg')) &intval($_POST['profile_publish_reg']) = 1) ? 1 : 0);
|
$netpublish = !empty($_POST['profile_publish_reg']);
|
||||||
|
|
||||||
$arr = $_POST;
|
$arr = $_POST;
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ function viewcontacts_content(App $a)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$is_owner = ((local_user() && ($a->profile['profile_uid'] == local_user())) ? true : false);
|
$is_owner = $a->profile['profile_uid'] == local_user();
|
||||||
|
|
||||||
$o = "";
|
$o = "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue