@@ -65,8 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | public function get_effective_value(array $options, $object = null) |
67 | 67 | { |
68 | - if (!$object) |
|
69 | - { |
|
68 | + if (!$object) { |
|
70 | 69 | $defaults = midcom::get()->auth->acl->get_default_privileges(); |
71 | 70 | return $defaults[$options['privilege_name']] === MIDCOM_PRIVILEGE_ALLOW; |
72 | 71 | } |
@@ -107,8 +106,7 @@ discard block |
||
107 | 106 | { |
108 | 107 | $help_obj = $object; |
109 | 108 | |
110 | - while (true) |
|
111 | - { |
|
109 | + while (true) { |
|
112 | 110 | if ($help_obj instanceof dbacontainer) { |
113 | 111 | return $help_obj->get_value(); |
114 | 112 | } else { |