- if($switchtotext === false)
- $switchtotext = Config::get('system','groupedit_image_limit');
- if($switchtotext === false)
- $switchtotext = 400;
-
+ if (is_null($switchtotext)) {
+ $switchtotext = Config::get('system','groupedit_image_limit', 400);
+ }