We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31943bc + f241b62 commit 5008b0cCopy full SHA for 5008b0c
src/actions/IndexAction.php
@@ -118,7 +118,7 @@ protected function getFilter()
118
$attributeMap = [];
119
foreach ($requestParams as $attribute => $value) {
120
$attributeMap[$attribute] = Inflector::camel2id(Inflector::variablize($attribute), '_');
121
- if (strpos($value, ',') !== false) {
+ if (is_string($value) && strpos($value, ',') !== false) {
122
$requestParams[$attribute] = ['in' => explode(',', $value)];
123
}
124
0 commit comments