should be ` if isset($params['is_fixed'] and ...` i guess