Skip to content

Commit

Permalink
Item's attributes issue fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
lavary committed Jul 22, 2014
1 parent 4d11321 commit d1a672e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lavary/Menu/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public function render($type = 'ul', $parent = null)

foreach ($this->whereParent($parent) as $item)
{
$items .= "<{$item_tag}{$this->attributes($item->attr)}>";
$items .= "<{$item_tag}{$this->attributes($item->attr())}>";

if($item->link) {
$items .= "<a{$this->attributes($item->link->attr())} href=\"{$item->url()}\">{$item->title}</a>";
Expand Down

0 comments on commit d1a672e

Please sign in to comment.