Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ public function getOptionText($value)
}
}
// End
if (isset($options[$value])) {
if (is_scalar($value) && isset($options[$value])) {
return $options[$value];
}
return false;

0 comments on commit 86bd66e

Please sign in to comment.