{"action":"created","issue":{"url":"https://api.github.com/repos/phpipam/phpipam/issues/140","labels_url":"https://api.github.com/repos/phpipam/phpipam/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/phpipam/phpipam/issues/140/comments","events_url":"https://api.github.com/repos/phpipam/phpipam/issues/140/events","html_url":"https://github.com/phpipam/phpipam/issues/140","id":112650991,"number":140,"title":"Error when showing details for specific IP address","user":{"login":"jonashauge","id":13764660,"avatar_url":"https://avatars.githubusercontent.com/u/13764660?v=3","gravatar_id":"","url":"https://api.github.com/users/jonashauge","html_url":"https://github.com/jonashauge","followers_url":"https://api.github.com/users/jonashauge/followers","following_url":"https://api.github.com/users/jonashauge/following{/other_user}","gists_url":"https://api.github.com/users/jonashauge/gists{/gist_id}","starred_url":"https://api.github.com/users/jonashauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonashauge/subscriptions","organizations_url":"https://api.github.com/users/jonashauge/orgs","repos_url":"https://api.github.com/users/jonashauge/repos","events_url":"https://api.github.com/users/jonashauge/events{/privacy}","received_events_url":"https://api.github.com/users/jonashauge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T18:29:32Z","updated_at":"2015-10-23T07:49:57Z","closed_at":null,"body":"When showing details for a specific IP (eg. /?page=subnets&section=3&subnetId=36&sPage=address-details&ipaddrid=146) under a subnet the following PHP error shows up:\r\n\r\nWarning: Invalid argument supplied for foreach() in /opt/phpipam/app/subnets/addresses/address-details.php on line 245\r\n\r\nIt's the check for temporary shares which fails if no temporary shares has ever been created. After I create the first temp share the error goes away.\r\n"},"comment":{"url":"https://api.github.com/repos/phpipam/phpipam/issues/comments/150499893","html_url":"https://github.com/phpipam/phpipam/issues/140#issuecomment-150499893","issue_url":"https://api.github.com/repos/phpipam/phpipam/issues/140","id":150499893,"user":{"login":"phpipam","id":12947690,"avatar_url":"https://avatars.githubusercontent.com/u/12947690?v=3","gravatar_id":"","url":"https://api.github.com/users/phpipam","html_url":"https://github.com/phpipam","followers_url":"https://api.github.com/users/phpipam/followers","following_url":"https://api.github.com/users/phpipam/following{/other_user}","gists_url":"https://api.github.com/users/phpipam/gists{/gist_id}","starred_url":"https://api.github.com/users/phpipam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpipam/subscriptions","organizations_url":"https://api.github.com/users/phpipam/orgs","repos_url":"https://api.github.com/users/phpipam/repos","events_url":"https://api.github.com/users/phpipam/events{/privacy}","received_events_url":"https://api.github.com/users/phpipam/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T07:49:57Z","updated_at":"2015-10-23T07:49:57Z","body":"Fixed, please test."}}