We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae0a0f commit 83f46ecCopy full SHA for 83f46ec
src/app/Models/MenuItem.php
@@ -63,7 +63,7 @@ public function url()
63
break;
64
65
case 'internal_link':
66
- return url($this->link);
+ return is_null($this->link) ? "#" : url($this->link);
67
68
69
default: //page_link
0 commit comments