mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
(mvc) fix object / array issue on ConfigdActionsField type
This commit is contained in:
parent
66f8411d1d
commit
cd20397229
@ -88,8 +88,8 @@ class ConfigdActionsField extends BaseField
|
||||
// use filters to determine relevance
|
||||
$isMatched = true;
|
||||
foreach ($this->internalFilters as $filterKey => $filterData) {
|
||||
if (isset($value->$filterKey)) {
|
||||
$fieldData = $value->$filterKey;
|
||||
if (array_key_exists($filterKey, $value)) {
|
||||
$fieldData = $value[$filterKey];
|
||||
if (!preg_match($filterData, $fieldData)) {
|
||||
$isMatched = false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user