Commit d5b9c78b authored by Ad Schellevis's avatar Ad Schellevis

(mvc) change regex behavior for interface field

parent 16018e4f
......@@ -85,7 +85,7 @@ class InterfaceField extends BaseField
$fieldData = "0";
}
if (!preg_match('/'.$filterData.'/', $fieldData)) {
if (!preg_match($filterData, $fieldData)) {
$isMatched = false;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment