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.
2 parents 23d0bd1 + 4d27524 commit 8b79df2Copy full SHA for 8b79df2
src/Helpers.php
@@ -41,7 +41,7 @@ public static function registerRoutes()
41
42
public static function import()
43
{
44
- $lastOrder = Menu::max('order');
+ $lastOrder = Menu::max('order') ?: 0;
45
46
$root = [
47
'parent_id' => 0,
0 commit comments