Commit cbfbc760 by Qiang Xue

Merge pull request #731 from Ryadnov/fix_sort_init_attributes

fixes initializing attributes in Sort class
parents eb0b00f8 0367d0a6
......@@ -203,6 +203,8 @@ class Sort extends Object
'desc' => array($name => self::DESC),
'label' => Inflector::camel2words($name),
), $attribute);
} else {
$attributes[$name] = $attribute;
}
}
$this->attributes = $attributes;
......
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