@@ -23,8 +23,10 @@ |
||
23 | 23 | if ((sizeof($children) < 2) || (sizeof($children) > 3) || |
24 | 24 | (!$children[0] instanceof FormField) || |
25 | 25 | (!$children[1] instanceof FormField) |
26 | - ) user_error('LatLongField argument 1 must be an array containing at least two FormField '. |
|
26 | + ) { |
|
27 | + user_error('LatLongField argument 1 must be an array containing at least two FormField '. |
|
27 | 28 | 'objects for Lat/Long values, respectively.', E_USER_ERROR); |
29 | + } |
|
28 | 30 | |
29 | 31 | parent::__construct($children); |
30 | 32 |