mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-05-17 21:28:25 -04:00
ALPHA 3.0.2
This commit is contained in:
Vendored
Regular → Executable
Vendored
Regular → Executable
+1
-1
@@ -250,7 +250,7 @@ class ValidationRuleParser
|
||||
{
|
||||
$rule = strtolower($rule);
|
||||
|
||||
if ($rule === 'regex' || $rule === 'not_regex' || $rule === 'notregex') {
|
||||
if (in_array($rule, ['regex', 'not_regex', 'notregex'], true)) {
|
||||
return [$parameter];
|
||||
}
|
||||
|
||||
|
||||
Vendored
Regular → Executable
Reference in New Issue
Block a user