Commit 7488caac by Alexander Makarov

fixes #1515

parent 35df318e
...@@ -63,7 +63,7 @@ class LinkSorter extends Widget ...@@ -63,7 +63,7 @@ class LinkSorter extends Widget
*/ */
protected function renderSortLinks() 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 = []; $links = [];
foreach ($attributes as $name) { foreach ($attributes as $name) {
$links[] = $this->sort->link($name); $links[] = $this->sort->link($name);
......
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