{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/atkphpframework/atk/pulls/12","id":57437041,"html_url":"https://github.com/atkphpframework/atk/pull/12","diff_url":"https://github.com/atkphpframework/atk/pull/12.diff","patch_url":"https://github.com/atkphpframework/atk/pull/12.patch","issue_url":"https://api.github.com/repos/atkphpframework/atk/issues/12","number":12,"state":"open","locked":false,"title":"Starting porting changes from my v7 branch","user":{"login":"badpenguin","id":5000272,"avatar_url":"https://avatars.githubusercontent.com/u/5000272?v=3","gravatar_id":"","url":"https://api.github.com/users/badpenguin","html_url":"https://github.com/badpenguin","followers_url":"https://api.github.com/users/badpenguin/followers","following_url":"https://api.github.com/users/badpenguin/following{/other_user}","gists_url":"https://api.github.com/users/badpenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/badpenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badpenguin/subscriptions","organizations_url":"https://api.github.com/users/badpenguin/orgs","repos_url":"https://api.github.com/users/badpenguin/repos","events_url":"https://api.github.com/users/badpenguin/events{/privacy}","received_events_url":"https://api.github.com/users/badpenguin/received_events","type":"User","site_admin":false},"body":"Sorry for any mistaked probably this is my first pull request.\r\n\r\natktools.inc there is a problem sometimes, expecially when using relations that the value is not an object but an array, so i've ported back the adding of 2 lines of code for such condition.\r\n\r\nAlso there is another nasty bugs with manytoonerelation that for some reason $attr/$attrname is not an object so it needs to be checked.\r\n\r\nIn class.atkcontroller.inc i've ported back the patch that add the ability to use both flags togheter: edit after add + add after add.","created_at":"2016-01-27T22:58:03Z","updated_at":"2016-01-27T22:58:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atkphpframework/atk/pulls/12/commits","review_comments_url":"https://api.github.com/repos/atkphpframework/atk/pulls/12/comments","review_comment_url":"https://api.github.com/repos/atkphpframework/atk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atkphpframework/atk/issues/12/comments","statuses_url":"https://api.github.com/repos/atkphpframework/atk/statuses/dd194669b939ced97a03130c5ae9ed0698f63967","head":{"label":"Sintattica:master","ref":"master","sha":"dd194669b939ced97a03130c5ae9ed0698f63967","user":{"login":"Sintattica","id":8312241,"avatar_url":"https://avatars.githubusercontent.com/u/8312241?v=3","gravatar_id":"","url":"https://api.github.com/users/Sintattica","html_url":"https://github.com/Sintattica","followers_url":"https://api.github.com/users/Sintattica/followers","following_url":"https://api.github.com/users/Sintattica/following{/other_user}","gists_url":"https://api.github.com/users/Sintattica/gists{/gist_id}","starred_url":"https://api.github.com/users/Sintattica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sintattica/subscriptions","organizations_url":"https://api.github.com/users/Sintattica/orgs","repos_url":"https://api.github.com/users/Sintattica/repos","events_url":"https://api.github.com/users/Sintattica/events{/privacy}","received_events_url":"https://api.github.com/users/Sintattica/received_events","type":"Organization","site_admin":false},"repo":{"id":23397072,"name":"atk","full_name":"Sintattica/atk","owner":{"login":"Sintattica","id":8312241,"avatar_url":"https://avatars.githubusercontent.com/u/8312241?v=3","gravatar_id":"","url":"https://api.github.com/users/Sintattica","html_url":"https://github.com/Sintattica","followers_url":"https://api.github.com/users/Sintattica/followers","following_url":"https://api.github.com/users/Sintattica/following{/other_user}","gists_url":"https://api.github.com/users/Sintattica/gists{/gist_id}","starred_url":"https://api.github.com/users/Sintattica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sintattica/subscriptions","organizations_url":"https://api.github.com/users/Sintattica/orgs","repos_url":"https://api.github.com/users/Sintattica/repos","events_url":"https://api.github.com/users/Sintattica/events{/privacy}","received_events_url":"https://api.github.com/users/Sintattica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sintattica/atk","description":"Object-oriented full-stack PHP framework for developing business-oriented web applications","fork":true,"url":"https://api.github.com/repos/Sintattica/atk","forks_url":"https://api.github.com/repos/Sintattica/atk/forks","keys_url":"https://api.github.com/repos/Sintattica/atk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sintattica/atk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sintattica/atk/teams","hooks_url":"https://api.github.com/repos/Sintattica/atk/hooks","issue_events_url":"https://api.github.com/repos/Sintattica/atk/issues/events{/number}","events_url":"https://api.github.com/repos/Sintattica/atk/events","assignees_url":"https://api.github.com/repos/Sintattica/atk/assignees{/user}","branches_url":"https://api.github.com/repos/Sintattica/atk/branches{/branch}","tags_url":"https://api.github.com/repos/Sintattica/atk/tags","blobs_url":"https://api.github.com/repos/Sintattica/atk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sintattica/atk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sintattica/atk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sintattica/atk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sintattica/atk/statuses/{sha}","languages_url":"https://api.github.com/repos/Sintattica/atk/languages","stargazers_url":"https://api.github.com/repos/Sintattica/atk/stargazers","contributors_url":"https://api.github.com/repos/Sintattica/atk/contributors","subscribers_url":"https://api.github.com/repos/Sintattica/atk/subscribers","subscription_url":"https://api.github.com/repos/Sintattica/atk/subscription","commits_url":"https://api.github.com/repos/Sintattica/atk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sintattica/atk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sintattica/atk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sintattica/atk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sintattica/atk/contents/{+path}","compare_url":"https://api.github.com/repos/Sintattica/atk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sintattica/atk/merges","archive_url":"https://api.github.com/repos/Sintattica/atk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sintattica/atk/downloads","issues_url":"https://api.github.com/repos/Sintattica/atk/issues{/number}","pulls_url":"https://api.github.com/repos/Sintattica/atk/pulls{/number}","milestones_url":"https://api.github.com/repos/Sintattica/atk/milestones{/number}","notifications_url":"https://api.github.com/repos/Sintattica/atk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sintattica/atk/labels{/name}","releases_url":"https://api.github.com/repos/Sintattica/atk/releases{/id}","deployments_url":"https://api.github.com/repos/Sintattica/atk/deployments","created_at":"2014-08-27T16:28:52Z","updated_at":"2016-01-24T21:55:14Z","pushed_at":"2016-01-24T23:11:00Z","git_url":"git://github.com/Sintattica/atk.git","ssh_url":"git@github.com:Sintattica/atk.git","clone_url":"https://github.com/Sintattica/atk.git","svn_url":"https://github.com/Sintattica/atk","homepage":"","size":17615,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":6,"default_branch":"develop"}},"base":{"label":"atkphpframework:master","ref":"master","sha":"060011008433adae2d29ab1dc08a0a458c7cf39c","user":{"login":"atkphpframework","id":1933445,"avatar_url":"https://avatars.githubusercontent.com/u/1933445?v=3","gravatar_id":"","url":"https://api.github.com/users/atkphpframework","html_url":"https://github.com/atkphpframework","followers_url":"https://api.github.com/users/atkphpframework/followers","following_url":"https://api.github.com/users/atkphpframework/following{/other_user}","gists_url":"https://api.github.com/users/atkphpframework/gists{/gist_id}","starred_url":"https://api.github.com/users/atkphpframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atkphpframework/subscriptions","organizations_url":"https://api.github.com/users/atkphpframework/orgs","repos_url":"https://api.github.com/users/atkphpframework/repos","events_url":"https://api.github.com/users/atkphpframework/events{/privacy}","received_events_url":"https://api.github.com/users/atkphpframework/received_events","type":"Organization","site_admin":false},"repo":{"id":18920181,"name":"atk","full_name":"atkphpframework/atk","owner":{"login":"atkphpframework","id":1933445,"avatar_url":"https://avatars.githubusercontent.com/u/1933445?v=3","gravatar_id":"","url":"https://api.github.com/users/atkphpframework","html_url":"https://github.com/atkphpframework","followers_url":"https://api.github.com/users/atkphpframework/followers","following_url":"https://api.github.com/users/atkphpframework/following{/other_user}","gists_url":"https://api.github.com/users/atkphpframework/gists{/gist_id}","starred_url":"https://api.github.com/users/atkphpframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atkphpframework/subscriptions","organizations_url":"https://api.github.com/users/atkphpframework/orgs","repos_url":"https://api.github.com/users/atkphpframework/repos","events_url":"https://api.github.com/users/atkphpframework/events{/privacy}","received_events_url":"https://api.github.com/users/atkphpframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atkphpframework/atk","description":"Object-oriented full-stack PHP framework for developing business-oriented web applications","fork":false,"url":"https://api.github.com/repos/atkphpframework/atk","forks_url":"https://api.github.com/repos/atkphpframework/atk/forks","keys_url":"https://api.github.com/repos/atkphpframework/atk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atkphpframework/atk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atkphpframework/atk/teams","hooks_url":"https://api.github.com/repos/atkphpframework/atk/hooks","issue_events_url":"https://api.github.com/repos/atkphpframework/atk/issues/events{/number}","events_url":"https://api.github.com/repos/atkphpframework/atk/events","assignees_url":"https://api.github.com/repos/atkphpframework/atk/assignees{/user}","branches_url":"https://api.github.com/repos/atkphpframework/atk/branches{/branch}","tags_url":"https://api.github.com/repos/atkphpframework/atk/tags","blobs_url":"https://api.github.com/repos/atkphpframework/atk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atkphpframework/atk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atkphpframework/atk/git/refs{/sha}","trees_url":"https://api.github.com/repos/atkphpframework/atk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atkphpframework/atk/statuses/{sha}","languages_url":"https://api.github.com/repos/atkphpframework/atk/languages","stargazers_url":"https://api.github.com/repos/atkphpframework/atk/stargazers","contributors_url":"https://api.github.com/repos/atkphpframework/atk/contributors","subscribers_url":"https://api.github.com/repos/atkphpframework/atk/subscribers","subscription_url":"https://api.github.com/repos/atkphpframework/atk/subscription","commits_url":"https://api.github.com/repos/atkphpframework/atk/commits{/sha}","git_commits_url":"https://api.github.com/repos/atkphpframework/atk/git/commits{/sha}","comments_url":"https://api.github.com/repos/atkphpframework/atk/comments{/number}","issue_comment_url":"https://api.github.com/repos/atkphpframework/atk/issues/comments{/number}","contents_url":"https://api.github.com/repos/atkphpframework/atk/contents/{+path}","compare_url":"https://api.github.com/repos/atkphpframework/atk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atkphpframework/atk/merges","archive_url":"https://api.github.com/repos/atkphpframework/atk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atkphpframework/atk/downloads","issues_url":"https://api.github.com/repos/atkphpframework/atk/issues{/number}","pulls_url":"https://api.github.com/repos/atkphpframework/atk/pulls{/number}","milestones_url":"https://api.github.com/repos/atkphpframework/atk/milestones{/number}","notifications_url":"https://api.github.com/repos/atkphpframework/atk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atkphpframework/atk/labels{/name}","releases_url":"https://api.github.com/repos/atkphpframework/atk/releases{/id}","deployments_url":"https://api.github.com/repos/atkphpframework/atk/deployments","created_at":"2014-04-18T17:35:58Z","updated_at":"2016-01-23T23:39:22Z","pushed_at":"2015-01-11T00:13:26Z","git_url":"git://github.com/atkphpframework/atk.git","ssh_url":"git@github.com:atkphpframework/atk.git","clone_url":"https://github.com/atkphpframework/atk.git","svn_url":"https://github.com/atkphpframework/atk","homepage":"","size":14706,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/atkphpframework/atk/pulls/12"},"html":{"href":"https://github.com/atkphpframework/atk/pull/12"},"issue":{"href":"https://api.github.com/repos/atkphpframework/atk/issues/12"},"comments":{"href":"https://api.github.com/repos/atkphpframework/atk/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/atkphpframework/atk/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/atkphpframework/atk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atkphpframework/atk/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/atkphpframework/atk/statuses/dd194669b939ced97a03130c5ae9ed0698f63967"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":485,"additions":6699,"deletions":2862,"changed_files":1283}}