@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * Converts the selected options according to the multiple_storagemode setting. |
| 88 | 88 | * |
| 89 | 89 | * @return mixed The data converted to the final data storage. |
| 90 | - */ |
|
| 90 | + */ |
|
| 91 | 91 | function convert_multiple_to_storage() |
| 92 | 92 | { |
| 93 | 93 | switch ($this->config['type_config']['multiple_storagemode']) { |
@@ -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 { |