{"action":"opened","issue":{"url":"https://api.github.com/repos/LaravelDaily/quickadmin/issues/15","repository_url":"https://api.github.com/repos/LaravelDaily/quickadmin","labels_url":"https://api.github.com/repos/LaravelDaily/quickadmin/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/LaravelDaily/quickadmin/issues/15/comments","events_url":"https://api.github.com/repos/LaravelDaily/quickadmin/issues/15/events","html_url":"https://github.com/LaravelDaily/quickadmin/issues/15","id":132320044,"number":15,"title":"QuickadminMenuController.php line 343: Undefined index: parent_id","user":{"login":"cangak","id":2749594,"avatar_url":"https://avatars.githubusercontent.com/u/2749594?v=3","gravatar_id":"","url":"https://api.github.com/users/cangak","html_url":"https://github.com/cangak","followers_url":"https://api.github.com/users/cangak/followers","following_url":"https://api.github.com/users/cangak/following{/other_user}","gists_url":"https://api.github.com/users/cangak/gists{/gist_id}","starred_url":"https://api.github.com/users/cangak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cangak/subscriptions","organizations_url":"https://api.github.com/users/cangak/orgs","repos_url":"https://api.github.com/users/cangak/repos","events_url":"https://api.github.com/users/cangak/events{/privacy}","received_events_url":"https://api.github.com/users/cangak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-09T03:05:59Z","updated_at":"2016-02-09T03:05:59Z","closed_at":null,"body":"hello there,\r\ni try to edit menu that have no parent, or this menu as parent it return\r\n`QuickadminMenuController.php line 343: Undefined index: parent_id`\r\ni think a little bug here\r\ni change\r\n` if ($requestArray['parent_id'] === \"null\") {\r\n            $requestArray['parent_id'] = null;\r\n        }`\r\ninto\r\n`if (!isset($requestArray['parent_id'])) {\r\n\r\n            $requestArray['parent_id'] = null;\r\n        }`\r\n\r\ncouse \r\ndd($requestArray);\r\nthere is no key [parent_id];\r\nso i change to isset instead of === 'null'\r\n\r\nthanks\r\n"}}