{"action":"created","issue":{"url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/50","labels_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/50/comments","events_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/50/events","html_url":"https://github.com/emreakay/CodeIgniter-Aauth/issues/50","id":92325208,"number":50,"title":"Updating user doesn't work, library raises warnings","user":{"login":"neilsf","id":5172851,"avatar_url":"https://avatars.githubusercontent.com/u/5172851?v=3","gravatar_id":"","url":"https://api.github.com/users/neilsf","html_url":"https://github.com/neilsf","followers_url":"https://api.github.com/users/neilsf/followers","following_url":"https://api.github.com/users/neilsf/following{/other_user}","gists_url":"https://api.github.com/users/neilsf/gists{/gist_id}","starred_url":"https://api.github.com/users/neilsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilsf/subscriptions","organizations_url":"https://api.github.com/users/neilsf/orgs","repos_url":"https://api.github.com/users/neilsf/repos","events_url":"https://api.github.com/users/neilsf/events{/privacy}","received_events_url":"https://api.github.com/users/neilsf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T09:17:20Z","updated_at":"2015-07-01T09:21:16Z","closed_at":null,"body":"Hi, thanks for this great library!\r\n\r\nI ran into some issue now, it's strange, this was working before. When I call:\r\n\r\n`$this->aauth->update_user(\"6\", false, false, \"New name\");`\r\n\r\nThe user is never updated and I receive the following warnings:\r\n\r\nMessage: Undefined variable: valid\r\nFilename: libraries/Aauth.php\r\nLine Number: 714\r\n\r\nMessage: Invalid argument supplied for foreach()\r\nFilename: libraries/Aauth.php\r\nLine Number: 1774\r\n\r\nversion 2.0"},"comment":{"url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/comments/117558153","html_url":"https://github.com/emreakay/CodeIgniter-Aauth/issues/50#issuecomment-117558153","issue_url":"https://api.github.com/repos/emreakay/CodeIgniter-Aauth/issues/50","id":117558153,"user":{"login":"neilsf","id":5172851,"avatar_url":"https://avatars.githubusercontent.com/u/5172851?v=3","gravatar_id":"","url":"https://api.github.com/users/neilsf","html_url":"https://github.com/neilsf","followers_url":"https://api.github.com/users/neilsf/followers","following_url":"https://api.github.com/users/neilsf/following{/other_user}","gists_url":"https://api.github.com/users/neilsf/gists{/gist_id}","starred_url":"https://api.github.com/users/neilsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilsf/subscriptions","organizations_url":"https://api.github.com/users/neilsf/orgs","repos_url":"https://api.github.com/users/neilsf/repos","events_url":"https://api.github.com/users/neilsf/events{/privacy}","received_events_url":"https://api.github.com/users/neilsf/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T09:21:16Z","updated_at":"2015-07-01T09:21:16Z","body":"Line 714 should be:\r\n\r\n`if (isset($valid) && !$valid) {`\r\n\r\n... and it works"}}