@@ -181,8 +181,11 @@ |
||
181 | 181 | if (!empty($element->plaintext)) { |
182 | 182 | $value = trim($value); |
183 | 183 | $value_int = intval($value); |
184 | - if (is_int($value_int)) $result = $value_int; |
|
185 | - else $result = $value; |
|
184 | + if (is_int($value_int)) { |
|
185 | + $result = $value_int; |
|
186 | + } else { |
|
187 | + $result = $value; |
|
188 | + } |
|
186 | 189 | } else { |
187 | 190 | $result = false; |
188 | 191 | } |