From: Roland Haeder Date: Fri, 14 Apr 2017 13:10:56 +0000 (+0200) Subject: CR: added spaces X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8e1b6186f176706538224869fd4bf10fb8e92a7f;p=friendica.git CR: added spaces Signed-off-by: Roland Haeder --- diff --git a/include/acl_selectors.php b/include/acl_selectors.php index f4a1ede7f9..a293a79c47 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -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") ), ));