1
0
Fork 0

some polishing

This commit is contained in:
rabuzarus 2018-02-12 04:10:11 +01:00
commit 049a4f5f86
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ function register_post(App $a)
break;
}
$netpublish = (((x($_POST, 'profile_publish_reg')) &intval($_POST['profile_publish_reg']) = 1) ? 1 : 0);
$netpublish = !empty($_POST['profile_publish_reg']);
$arr = $_POST;