From: Roland Haeder Date: Fri, 31 Mar 2017 18:32:52 +0000 (+0200) Subject: added spaces (space-time!) and TODO that x() is maybe proper way? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6db3d72ee3710d310e8f745b3dac961afbebe371;p=friendica.git added spaces (space-time!) and TODO that x() is maybe proper way? Signed-off-by: Roland Haeder --- diff --git a/mod/item.php b/mod/item.php index 9e6b3283c0..e7bae34958 100644 --- a/mod/item.php +++ b/mod/item.php @@ -264,12 +264,12 @@ function item_post(App $a) { * use the user default permissions - as they won't have * been supplied via a form. */ - + /// @TODO use x($_REQUEST, 'foo') here if (($api_source) - && (! array_key_exists('contact_allow',$_REQUEST)) - && (! array_key_exists('group_allow',$_REQUEST)) - && (! array_key_exists('contact_deny',$_REQUEST)) - && (! array_key_exists('group_deny',$_REQUEST))) { + && (! array_key_exists('contact_allow', $_REQUEST)) + && (! array_key_exists('group_allow', $_REQUEST)) + && (! array_key_exists('contact_deny', $_REQUEST)) + && (! array_key_exists('group_deny', $_REQUEST))) { $str_group_allow = $user['allow_gid']; $str_contact_allow = $user['allow_cid']; $str_group_deny = $user['deny_gid'];