From 7488caacc374d3b6768a3f9f7248d080a6e9c64b Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sat, 14 Dec 2013 14:37:10 +0100 Subject: [PATCH] fixes #1515 --- framework/yii/widgets/LinkSorter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/widgets/LinkSorter.php b/framework/yii/widgets/LinkSorter.php index 4ed8cc0..7104c18 100644 --- a/framework/yii/widgets/LinkSorter.php +++ b/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);