mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
Fix incorrect use of curly braces in legacy classes
This commit is contained in:
parent
2cbfd4500c
commit
14ad62e869
4 changed files with 39 additions and 39 deletions
|
|
@ -279,7 +279,7 @@ class Validator
|
|||
foreach($this->_filters as $key => $filter)
|
||||
{
|
||||
$names = array();
|
||||
if($key{0} == '^')
|
||||
if($key[0] == '^')
|
||||
{
|
||||
$names = preg_grep('/^' . preg_quote(substr($key, 1)) . '/', $field_names);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue