]> git.mxchange.org Git - friendica.git/commitdiff
CR: added spaces
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Apr 2017 13:10:56 +0000 (15:10 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Apr 2017 13:11:10 +0000 (15:11 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/acl_selectors.php

index f4a1ede7f9b804b57fa05a96329ccf5ccd9d7535..a293a79c4713f82ecf97004c3a838540b224b611 100644 (file)
@@ -55,7 +55,8 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) {
        return $o;
 }
 
-
+/// @TODO after an optional parameter, no mandadory parameter can follow
+/// @TODO find proper type-hints
 function contact_selector($selname, $selclass, $preselected = false, $options) {
 
        $a = get_app();
@@ -84,7 +85,7 @@ function contact_selector($selname, $selclass, $preselected = false, $options) {
                }
 
                if (x($options, 'networks')) {
-                       switch($options['networks']) {
+                       switch ($options['networks']) {
                                case 'DFRN_ONLY':
                                        $networks = array(NETWORK_DFRN);
                                        break;
@@ -375,7 +376,7 @@ function populate_acl($user = null, $show_jotnets = false) {
                '$aclModalTitle' => t('Permissions'),
                '$aclModalDismiss' => t('Close'),
                '$features' => array(
-               'aclautomention' => (feature_enabled($user['uid'],"aclautomention")?"true":"false")
+               'aclautomention' => (feature_enabled($user['uid'], "aclautomention") ? "true" : "false")
                ),
        ));