Browse Source

fixes #1515

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
7488caacc3
  1. 2
      framework/yii/widgets/LinkSorter.php

2
framework/yii/widgets/LinkSorter.php

@ -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);

Loading…
Cancel
Save