Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -150,6 +150,8 @@ |
151 | 151 | |
152 | 152 | $sugFields = array(); |
153 | 153 | // Parse suggestions, but limit to three (in case there would be more) |
| 154 | + $boxes = array(); |
| 155 | + |
154 | 156 | if ( $suggestions !== false ) { |
155 | 157 | $suggestions = json_decode( $suggestions, true ); |
156 | 158 | foreach ( $suggestions as $s ) { |
— | — | @@ -174,7 +176,6 @@ |
175 | 177 | } |
176 | 178 | } |
177 | 179 | |
178 | | - $boxes = array(); |
179 | 180 | foreach( $sugFields as $field ) { |
180 | 181 | list( $text, $params, $label ) = $field; |
181 | 182 | $legend = array(); |