added spaces (space-time!) and TODO that x() is maybe proper way?

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-31 20:32:52 +02:00
parent d98ac6b42d
commit 6db3d72ee3
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -264,12 +264,12 @@ function item_post(App $a) {
* use the user default permissions - as they won't have * use the user default permissions - as they won't have
* been supplied via a form. * been supplied via a form.
*/ */
/// @TODO use x($_REQUEST, 'foo') here
if (($api_source) if (($api_source)
&& (! array_key_exists('contact_allow',$_REQUEST)) && (! array_key_exists('contact_allow', $_REQUEST))
&& (! array_key_exists('group_allow',$_REQUEST)) && (! array_key_exists('group_allow', $_REQUEST))
&& (! array_key_exists('contact_deny',$_REQUEST)) && (! array_key_exists('contact_deny', $_REQUEST))
&& (! array_key_exists('group_deny',$_REQUEST))) { && (! array_key_exists('group_deny', $_REQUEST))) {
$str_group_allow = $user['allow_gid']; $str_group_allow = $user['allow_gid'];
$str_contact_allow = $user['allow_cid']; $str_contact_allow = $user['allow_cid'];
$str_group_deny = $user['deny_gid']; $str_group_deny = $user['deny_gid'];