{"action":"created","comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/29848932","id":29848932,"diff_hunk":"@@ -107,20 +107,24 @@ public function postProcess()\n \tprotected function processDeleteProductInCart()\n \t{\n \t\t$customization_product = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'customization`\n-\t\tWHERE `id_product` = '.(int)$this->id_product.' AND `id_customization` != '.(int)$this->customization_id);\n+\t\tWHERE `id_cart` = '.(int)$this->context->cart->id.' AND `id_product` = '.(int)$this->id_product.' AND `id_customization` != '.(int)$this->customization_id);\n \n \t\tif (count($customization_product))\n \t\t{\n \t\t\t$product = new Product((int)$this->id_product);\n-\n+\t\t\tif ($this->id_product_attribute>0)","path":"controllers/front/CartController.php","position":11,"original_position":11,"commit_id":"632def3d72eee258856240c0a5afc6da6db3a9fe","original_commit_id":"632def3d72eee258856240c0a5afc6da6db3a9fe","user":{"login":"gRoussac","id":3099551,"avatar_url":"https://avatars.githubusercontent.com/u/3099551?v=3","gravatar_id":"","url":"https://api.github.com/users/gRoussac","html_url":"https://github.com/gRoussac","followers_url":"https://api.github.com/users/gRoussac/followers","following_url":"https://api.github.com/users/gRoussac/following{/other_user}","gists_url":"https://api.github.com/users/gRoussac/gists{/gist_id}","starred_url":"https://api.github.com/users/gRoussac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gRoussac/subscriptions","organizations_url":"https://api.github.com/users/gRoussac/orgs","repos_url":"https://api.github.com/users/gRoussac/repos","events_url":"https://api.github.com/users/gRoussac/events{/privacy}","received_events_url":"https://api.github.com/users/gRoussac/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nThank you for your PR.\r\n\r\nWould you mind just adding a space before and after the symbol '>'  ?\r\n\r\nThank you. Regards","created_at":"2015-05-07T13:01:18Z","updated_at":"2015-05-07T13:01:18Z","html_url":"https://github.com/PrestaShop/PrestaShop/pull/2982#discussion_r29848932","pull_request_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/29848932"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/2982#discussion_r29848932"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982"}}},"pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982","id":34761776,"html_url":"https://github.com/PrestaShop/PrestaShop/pull/2982","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/2982.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/2982.patch","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/2982","number":2982,"state":"open","locked":false,"title":"Errors in minimal quantity calculation","user":{"login":"djbuch","id":5637724,"avatar_url":"https://avatars.githubusercontent.com/u/5637724?v=3","gravatar_id":"","url":"https://api.github.com/users/djbuch","html_url":"https://github.com/djbuch","followers_url":"https://api.github.com/users/djbuch/followers","following_url":"https://api.github.com/users/djbuch/following{/other_user}","gists_url":"https://api.github.com/users/djbuch/gists{/gist_id}","starred_url":"https://api.github.com/users/djbuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbuch/subscriptions","organizations_url":"https://api.github.com/users/djbuch/orgs","repos_url":"https://api.github.com/users/djbuch/repos","events_url":"https://api.github.com/users/djbuch/events{/privacy}","received_events_url":"https://api.github.com/users/djbuch/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-05T20:09:01Z","updated_at":"2015-05-07T13:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65395aa7c23104ce27e4d15cf7af9fc6be18660c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982/commits","review_comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982/comments","review_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/2982/comments","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/632def3d72eee258856240c0a5afc6da6db3a9fe","head":{"label":"djbuch:patch-24","ref":"patch-24","sha":"632def3d72eee258856240c0a5afc6da6db3a9fe","user":{"login":"djbuch","id":5637724,"avatar_url":"https://avatars.githubusercontent.com/u/5637724?v=3","gravatar_id":"","url":"https://api.github.com/users/djbuch","html_url":"https://github.com/djbuch","followers_url":"https://api.github.com/users/djbuch/followers","following_url":"https://api.github.com/users/djbuch/following{/other_user}","gists_url":"https://api.github.com/users/djbuch/gists{/gist_id}","starred_url":"https://api.github.com/users/djbuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbuch/subscriptions","organizations_url":"https://api.github.com/users/djbuch/orgs","repos_url":"https://api.github.com/users/djbuch/repos","events_url":"https://api.github.com/users/djbuch/events{/privacy}","received_events_url":"https://api.github.com/users/djbuch/received_events","type":"User","site_admin":false},"repo":{"id":21121790,"name":"PrestaShop","full_name":"djbuch/PrestaShop","owner":{"login":"djbuch","id":5637724,"avatar_url":"https://avatars.githubusercontent.com/u/5637724?v=3","gravatar_id":"","url":"https://api.github.com/users/djbuch","html_url":"https://github.com/djbuch","followers_url":"https://api.github.com/users/djbuch/followers","following_url":"https://api.github.com/users/djbuch/following{/other_user}","gists_url":"https://api.github.com/users/djbuch/gists{/gist_id}","starred_url":"https://api.github.com/users/djbuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbuch/subscriptions","organizations_url":"https://api.github.com/users/djbuch/orgs","repos_url":"https://api.github.com/users/djbuch/repos","events_url":"https://api.github.com/users/djbuch/events{/privacy}","received_events_url":"https://api.github.com/users/djbuch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djbuch/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open-source e-commerce solution.","fork":true,"url":"https://api.github.com/repos/djbuch/PrestaShop","forks_url":"https://api.github.com/repos/djbuch/PrestaShop/forks","keys_url":"https://api.github.com/repos/djbuch/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djbuch/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djbuch/PrestaShop/teams","hooks_url":"https://api.github.com/repos/djbuch/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/djbuch/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/djbuch/PrestaShop/events","assignees_url":"https://api.github.com/repos/djbuch/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/djbuch/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/djbuch/PrestaShop/tags","blobs_url":"https://api.github.com/repos/djbuch/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djbuch/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djbuch/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/djbuch/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djbuch/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/djbuch/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/djbuch/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/djbuch/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/djbuch/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/djbuch/PrestaShop/subscription","commits_url":"https://api.github.com/repos/djbuch/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/djbuch/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/djbuch/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/djbuch/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/djbuch/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/djbuch/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djbuch/PrestaShop/merges","archive_url":"https://api.github.com/repos/djbuch/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djbuch/PrestaShop/downloads","issues_url":"https://api.github.com/repos/djbuch/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/djbuch/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/djbuch/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/djbuch/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djbuch/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/djbuch/PrestaShop/releases{/id}","created_at":"2014-06-23T10:08:31Z","updated_at":"2014-08-21T15:16:33Z","pushed_at":"2015-05-05T20:11:23Z","git_url":"git://github.com/djbuch/PrestaShop.git","ssh_url":"git@github.com:djbuch/PrestaShop.git","clone_url":"https://github.com/djbuch/PrestaShop.git","svn_url":"https://github.com/djbuch/PrestaShop","homepage":"http://www.prestashop.com/","size":195508,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.6"}},"base":{"label":"PrestaShop:1.6","ref":"1.6","sha":"bbca38e942860acc537188a43ba320973af9f5e4","user":{"login":"PrestaShop","id":2815696,"avatar_url":"https://avatars.githubusercontent.com/u/2815696?v=3","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"repo":{"id":6763587,"name":"PrestaShop","full_name":"PrestaShop/PrestaShop","owner":{"login":"PrestaShop","id":2815696,"avatar_url":"https://avatars.githubusercontent.com/u/2815696?v=3","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrestaShop/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open-source e-commerce solution.","fork":false,"url":"https://api.github.com/repos/PrestaShop/PrestaShop","forks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/forks","keys_url":"https://api.github.com/repos/PrestaShop/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrestaShop/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrestaShop/PrestaShop/teams","hooks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/events","assignees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/PrestaShop/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/tags","blobs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/PrestaShop/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscription","commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/PrestaShop/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrestaShop/PrestaShop/merges","archive_url":"https://api.github.com/repos/PrestaShop/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrestaShop/PrestaShop/downloads","issues_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/PrestaShop/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/PrestaShop/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/PrestaShop/PrestaShop/releases{/id}","created_at":"2012-11-19T16:41:31Z","updated_at":"2015-05-07T08:25:53Z","pushed_at":"2015-05-07T09:50:56Z","git_url":"git://github.com/PrestaShop/PrestaShop.git","ssh_url":"git@github.com:PrestaShop/PrestaShop.git","clone_url":"https://github.com/PrestaShop/PrestaShop.git","svn_url":"https://github.com/PrestaShop/PrestaShop","homepage":"http://www.prestashop.com/","size":283188,"stargazers_count":1143,"watchers_count":1143,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1386,"mirror_url":null,"open_issues_count":212,"forks":1386,"open_issues":212,"watchers":1143,"default_branch":"1.6"}},"_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/2982"},"issue":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/2982"},"comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/2982/comments"},"review_comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982/comments"},"review_comment":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/2982/commits"},"statuses":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/632def3d72eee258856240c0a5afc6da6db3a9fe"}}}}