From 8e1b6186f176706538224869fd4bf10fb8e92a7f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 14 Apr 2017 15:10:56 +0200 Subject: [PATCH] CR: added spaces Signed-off-by: Roland Haeder --- include/acl_selectors.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/acl_selectors.php b/include/acl_selectors.php index f4a1ede7f..a293a79c4 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") ), ));