]> git.mxchange.org Git - friendica.git/commitdiff
added spaces (space-time!) and TODO that x() is maybe proper way?
authorRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:32:52 +0000 (20:32 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:33:11 +0000 (20:33 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/item.php

index 9e6b3283c03d1796c83e9befe0a576f001fdbeb5..e7bae34958f937c0cac615e3ca2505229c5c59dd 100644 (file)
@@ -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'];