mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-23 04:00:23 +08:00
fixes #1515
This commit is contained in:
@ -63,7 +63,7 @@ class LinkSorter extends Widget
|
||||
*/
|
||||
protected function renderSortLinks()
|
||||
{
|
||||
$attributes = empty($this->atttributes) ? array_keys($this->sort->attributes) : $this->attributes;
|
||||
$attributes = empty($this->attributes) ? array_keys($this->sort->attributes) : $this->attributes;
|
||||
$links = [];
|
||||
foreach ($attributes as $name) {
|
||||
$links[] = $this->sort->link($name);
|
||||
|
Reference in New Issue
Block a user