@@ -98,6 +98,9 @@ |
||
| 98 | 98 | return $this->data->$fieldNames['lng']; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $name |
|
| 103 | + */ |
|
| 101 | 104 | public function getOption($name) { |
| 102 | 105 | // Quicker execution path for "."-free names |
| 103 | 106 | if (strpos($name, '.') === false) { |
@@ -101,7 +101,9 @@ |
||
| 101 | 101 | public function getOption($name) { |
| 102 | 102 | // Quicker execution path for "."-free names |
| 103 | 103 | if (strpos($name, '.') === false) { |
| 104 | - if (isset($this->options[$name])) return $this->options[$name]; |
|
| 104 | + if (isset($this->options[$name])) { |
|
| 105 | + return $this->options[$name]; |
|
| 106 | + } |
|
| 105 | 107 | } else { |
| 106 | 108 | $names = explode('.', $name); |
| 107 | 109 | |