File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class RestoConstants
20
20
// [IMPORTANT] Starting resto 7.x, default routes are defined in RestoRouter class
21
21
22
22
// resto version
23
- const VERSION = '9.5.7 ' ;
23
+ const VERSION = '9.5.8 ' ;
24
24
25
25
/* ============================================================
26
26
* NEVER EVER TOUCH THESE VALUES
Original file line number Diff line number Diff line change @@ -1565,7 +1565,7 @@ private function jsonQueryToKVP($jsonQuery)
1565
1565
* Input bbox should be an array of 4 floats
1566
1566
*/
1567
1567
if ( isset ($ jsonQuery ['bbox ' ]) ) {
1568
- if ( is_array ($ jsonQuery ['bbox ' ]) || count ($ jsonQuery ['bbox ' ]) !== 4 ) {
1568
+ if ( ! is_array ($ jsonQuery ['bbox ' ]) || count ($ jsonQuery ['bbox ' ]) !== 4 ) {
1569
1569
RestoLogUtil::httpError (400 , 'Invalid bbox parameter. Should be an array of 4 coordinates ' );
1570
1570
}
1571
1571
$ params ['bbox ' ] = join (', ' , $ jsonQuery ['bbox ' ]);
You can’t perform that action at this time.
0 commit comments