Skip to content

Commit

Permalink
Fix url() method
Browse files Browse the repository at this point in the history
  • Loading branch information
lavary committed Jul 23, 2014
1 parent 31ac831 commit 26aed0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lavary/Menu/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function attr()
*/
public function url(){

if( isset($this->link->href) ) {
if( $this->link->href ) {

return $this->link->href;
}
Expand Down

0 comments on commit 26aed0b

Please sign in to comment.