]> git.mxchange.org Git - friendica.git/blobdiff - include/security.php
added spaces + some curly braces
[friendica.git] / include / security.php
index b13a507cf483c124e5e1de3ed3817b205784d3aa..70896992d94b4abfa24b4c79bfc9da1cf94ba76f 100644 (file)
@@ -299,8 +299,9 @@ function permissions_sql($owner_id, $remote_verified = false, $groups = null)
                        $gs = '<<>>'; // should be impossible to match
 
                        if (is_array($groups) && count($groups)) {
-                               foreach ($groups as $g)
+                               foreach ($groups as $g) {
                                        $gs .= '|<' . intval($g) . '>';
+                               }
                        }
 
                        $sql = sprintf(