Commit 66aab86b by Alexander Makarov

Fixed array syntax

parent 48327606
......@@ -626,7 +626,7 @@ abstract class ActiveRecord extends BaseActiveRecord
if (isset($columns[$name])) {
if ($columns[$name]->isMva) {
$mvaValue = explode(',', $value);
$row[$name] = array_map(array($columns[$name], 'phpTypecast'), $mvaValue);
$row[$name] = array_map([$columns[$name], 'phpTypecast'], $mvaValue);
} else {
$row[$name] = $columns[$name]->phpTypecast($value);
}
......
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