{"action":"created","comment":{"url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/comments/74697721","id":74697721,"diff_hunk":"@@ -189,16 +189,19 @@ sub add_vouchers {\n             # incredibly bad form.\n             # However, the code we are including is going to require it for now.\n             # -- CT\n-            { no strict; no warnings 'redefine'; do $script; }\n+            require 'bin/bridge.pl'; ## no critic\n+            $form->{script} = $script;\n+            $form->{script} =~ s#^bin/##;\n             lsmb_legacy::locale($locale);\n             lsmb_legacy::form($form);\n+            { no strict; no warnings 'redefine'; do $script; }\n             $vouchers_dispatch->{$request->{batch_type}}{function}($request);\n \n             exit;","path":"lib/LedgerSMB/Scripts/vouchers.pm","position":13,"original_position":13,"commit_id":"1fb56f76f9d3d3bf68b9a69afe263b73a7c0d0a2","original_commit_id":"1fb56f76f9d3d3bf68b9a69afe263b73a7c0d0a2","user":{"login":"einhverfr","id":341143,"avatar_url":"https://avatars.githubusercontent.com/u/341143?v=3","gravatar_id":"","url":"https://api.github.com/users/einhverfr","html_url":"https://github.com/einhverfr","followers_url":"https://api.github.com/users/einhverfr/followers","following_url":"https://api.github.com/users/einhverfr/following{/other_user}","gists_url":"https://api.github.com/users/einhverfr/gists{/gist_id}","starred_url":"https://api.github.com/users/einhverfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einhverfr/subscriptions","organizations_url":"https://api.github.com/users/einhverfr/orgs","repos_url":"https://api.github.com/users/einhverfr/repos","events_url":"https://api.github.com/users/einhverfr/events{/privacy}","received_events_url":"https://api.github.com/users/einhverfr/received_events","type":"User","site_admin":false},"body":"The exit occurs in a fork, so it exits the child.  Without the else, it then tries to run again.","created_at":"2016-08-14T08:16:15Z","updated_at":"2016-08-14T08:16:15Z","html_url":"https://github.com/ledgersmb/LedgerSMB/pull/2077#discussion_r74697721","pull_request_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077","_links":{"self":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/comments/74697721"},"html":{"href":"https://github.com/ledgersmb/LedgerSMB/pull/2077#discussion_r74697721"},"pull_request":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077"}}},"pull_request":{"url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077","id":81235619,"html_url":"https://github.com/ledgersmb/LedgerSMB/pull/2077","diff_url":"https://github.com/ledgersmb/LedgerSMB/pull/2077.diff","patch_url":"https://github.com/ledgersmb/LedgerSMB/pull/2077.patch","issue_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2077","number":2077,"state":"closed","locked":false,"title":"A few fixes for batch entry for ar/ap/gl","user":{"login":"einhverfr","id":341143,"avatar_url":"https://avatars.githubusercontent.com/u/341143?v=3","gravatar_id":"","url":"https://api.github.com/users/einhverfr","html_url":"https://github.com/einhverfr","followers_url":"https://api.github.com/users/einhverfr/followers","following_url":"https://api.github.com/users/einhverfr/following{/other_user}","gists_url":"https://api.github.com/users/einhverfr/gists{/gist_id}","starred_url":"https://api.github.com/users/einhverfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einhverfr/subscriptions","organizations_url":"https://api.github.com/users/einhverfr/orgs","repos_url":"https://api.github.com/users/einhverfr/repos","events_url":"https://api.github.com/users/einhverfr/events{/privacy}","received_events_url":"https://api.github.com/users/einhverfr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-14T06:42:28Z","updated_at":"2016-08-14T08:16:15Z","closed_at":"2016-08-14T08:03:26Z","merged_at":"2016-08-14T08:03:26Z","merge_commit_sha":"ea13094cef1335d65c18e2ae2101ae8fd43104a3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077/commits","review_comments_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077/comments","review_comment_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2077/comments","statuses_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/statuses/1fb56f76f9d3d3bf68b9a69afe263b73a7c0d0a2","head":{"label":"einhverfr:master-fix","ref":"master-fix","sha":"1fb56f76f9d3d3bf68b9a69afe263b73a7c0d0a2","user":{"login":"einhverfr","id":341143,"avatar_url":"https://avatars.githubusercontent.com/u/341143?v=3","gravatar_id":"","url":"https://api.github.com/users/einhverfr","html_url":"https://github.com/einhverfr","followers_url":"https://api.github.com/users/einhverfr/followers","following_url":"https://api.github.com/users/einhverfr/following{/other_user}","gists_url":"https://api.github.com/users/einhverfr/gists{/gist_id}","starred_url":"https://api.github.com/users/einhverfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einhverfr/subscriptions","organizations_url":"https://api.github.com/users/einhverfr/orgs","repos_url":"https://api.github.com/users/einhverfr/repos","events_url":"https://api.github.com/users/einhverfr/events{/privacy}","received_events_url":"https://api.github.com/users/einhverfr/received_events","type":"User","site_admin":false},"repo":{"id":18487325,"name":"LedgerSMB","full_name":"einhverfr/LedgerSMB","owner":{"login":"einhverfr","id":341143,"avatar_url":"https://avatars.githubusercontent.com/u/341143?v=3","gravatar_id":"","url":"https://api.github.com/users/einhverfr","html_url":"https://github.com/einhverfr","followers_url":"https://api.github.com/users/einhverfr/followers","following_url":"https://api.github.com/users/einhverfr/following{/other_user}","gists_url":"https://api.github.com/users/einhverfr/gists{/gist_id}","starred_url":"https://api.github.com/users/einhverfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einhverfr/subscriptions","organizations_url":"https://api.github.com/users/einhverfr/orgs","repos_url":"https://api.github.com/users/einhverfr/repos","events_url":"https://api.github.com/users/einhverfr/events{/privacy}","received_events_url":"https://api.github.com/users/einhverfr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/einhverfr/LedgerSMB","description":"Master repository for the LedgerSMB project","fork":true,"url":"https://api.github.com/repos/einhverfr/LedgerSMB","forks_url":"https://api.github.com/repos/einhverfr/LedgerSMB/forks","keys_url":"https://api.github.com/repos/einhverfr/LedgerSMB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/einhverfr/LedgerSMB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/einhverfr/LedgerSMB/teams","hooks_url":"https://api.github.com/repos/einhverfr/LedgerSMB/hooks","issue_events_url":"https://api.github.com/repos/einhverfr/LedgerSMB/issues/events{/number}","events_url":"https://api.github.com/repos/einhverfr/LedgerSMB/events","assignees_url":"https://api.github.com/repos/einhverfr/LedgerSMB/assignees{/user}","branches_url":"https://api.github.com/repos/einhverfr/LedgerSMB/branches{/branch}","tags_url":"https://api.github.com/repos/einhverfr/LedgerSMB/tags","blobs_url":"https://api.github.com/repos/einhverfr/LedgerSMB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/einhverfr/LedgerSMB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/einhverfr/LedgerSMB/git/refs{/sha}","trees_url":"https://api.github.com/repos/einhverfr/LedgerSMB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/einhverfr/LedgerSMB/statuses/{sha}","languages_url":"https://api.github.com/repos/einhverfr/LedgerSMB/languages","stargazers_url":"https://api.github.com/repos/einhverfr/LedgerSMB/stargazers","contributors_url":"https://api.github.com/repos/einhverfr/LedgerSMB/contributors","subscribers_url":"https://api.github.com/repos/einhverfr/LedgerSMB/subscribers","subscription_url":"https://api.github.com/repos/einhverfr/LedgerSMB/subscription","commits_url":"https://api.github.com/repos/einhverfr/LedgerSMB/commits{/sha}","git_commits_url":"https://api.github.com/repos/einhverfr/LedgerSMB/git/commits{/sha}","comments_url":"https://api.github.com/repos/einhverfr/LedgerSMB/comments{/number}","issue_comment_url":"https://api.github.com/repos/einhverfr/LedgerSMB/issues/comments{/number}","contents_url":"https://api.github.com/repos/einhverfr/LedgerSMB/contents/{+path}","compare_url":"https://api.github.com/repos/einhverfr/LedgerSMB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/einhverfr/LedgerSMB/merges","archive_url":"https://api.github.com/repos/einhverfr/LedgerSMB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/einhverfr/LedgerSMB/downloads","issues_url":"https://api.github.com/repos/einhverfr/LedgerSMB/issues{/number}","pulls_url":"https://api.github.com/repos/einhverfr/LedgerSMB/pulls{/number}","milestones_url":"https://api.github.com/repos/einhverfr/LedgerSMB/milestones{/number}","notifications_url":"https://api.github.com/repos/einhverfr/LedgerSMB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/einhverfr/LedgerSMB/labels{/name}","releases_url":"https://api.github.com/repos/einhverfr/LedgerSMB/releases{/id}","deployments_url":"https://api.github.com/repos/einhverfr/LedgerSMB/deployments","created_at":"2014-04-06T10:38:35Z","updated_at":"2016-05-26T02:43:24Z","pushed_at":"2016-08-14T08:03:31Z","git_url":"git://github.com/einhverfr/LedgerSMB.git","ssh_url":"git@github.com:einhverfr/LedgerSMB.git","clone_url":"https://github.com/einhverfr/LedgerSMB.git","svn_url":"https://github.com/einhverfr/LedgerSMB","homepage":"http://ledgersmb.org","size":75869,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ledgersmb:master","ref":"master","sha":"71d3051925dbb29560cc4b6a9f81a3f1d5878313","user":{"login":"ledgersmb","id":2297436,"avatar_url":"https://avatars.githubusercontent.com/u/2297436?v=3","gravatar_id":"","url":"https://api.github.com/users/ledgersmb","html_url":"https://github.com/ledgersmb","followers_url":"https://api.github.com/users/ledgersmb/followers","following_url":"https://api.github.com/users/ledgersmb/following{/other_user}","gists_url":"https://api.github.com/users/ledgersmb/gists{/gist_id}","starred_url":"https://api.github.com/users/ledgersmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledgersmb/subscriptions","organizations_url":"https://api.github.com/users/ledgersmb/orgs","repos_url":"https://api.github.com/users/ledgersmb/repos","events_url":"https://api.github.com/users/ledgersmb/events{/privacy}","received_events_url":"https://api.github.com/users/ledgersmb/received_events","type":"Organization","site_admin":false},"repo":{"id":18471236,"name":"LedgerSMB","full_name":"ledgersmb/LedgerSMB","owner":{"login":"ledgersmb","id":2297436,"avatar_url":"https://avatars.githubusercontent.com/u/2297436?v=3","gravatar_id":"","url":"https://api.github.com/users/ledgersmb","html_url":"https://github.com/ledgersmb","followers_url":"https://api.github.com/users/ledgersmb/followers","following_url":"https://api.github.com/users/ledgersmb/following{/other_user}","gists_url":"https://api.github.com/users/ledgersmb/gists{/gist_id}","starred_url":"https://api.github.com/users/ledgersmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledgersmb/subscriptions","organizations_url":"https://api.github.com/users/ledgersmb/orgs","repos_url":"https://api.github.com/users/ledgersmb/repos","events_url":"https://api.github.com/users/ledgersmb/events{/privacy}","received_events_url":"https://api.github.com/users/ledgersmb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ledgersmb/LedgerSMB","description":"Master repository for the LedgerSMB project","fork":false,"url":"https://api.github.com/repos/ledgersmb/LedgerSMB","forks_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/forks","keys_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/teams","hooks_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/hooks","issue_events_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/events{/number}","events_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/events","assignees_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/assignees{/user}","branches_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/branches{/branch}","tags_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/tags","blobs_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/statuses/{sha}","languages_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/languages","stargazers_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/stargazers","contributors_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/contributors","subscribers_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/subscribers","subscription_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/subscription","commits_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/contents/{+path}","compare_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/merges","archive_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/downloads","issues_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues{/number}","pulls_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls{/number}","milestones_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/milestones{/number}","notifications_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/labels{/name}","releases_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/releases{/id}","deployments_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/deployments","created_at":"2014-04-05T16:43:59Z","updated_at":"2016-08-02T01:59:33Z","pushed_at":"2016-08-14T08:03:26Z","git_url":"git://github.com/ledgersmb/LedgerSMB.git","ssh_url":"git@github.com:ledgersmb/LedgerSMB.git","clone_url":"https://github.com/ledgersmb/LedgerSMB.git","svn_url":"https://github.com/ledgersmb/LedgerSMB","homepage":"http://ledgersmb.org","size":80527,"stargazers_count":17,"watchers_count":17,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":223,"forks":24,"open_issues":223,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077"},"html":{"href":"https://github.com/ledgersmb/LedgerSMB/pull/2077"},"issue":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2077"},"comments":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2077/comments"},"review_comments":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077/comments"},"review_comment":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/pulls/2077/commits"},"statuses":{"href":"https://api.github.com/repos/ledgersmb/LedgerSMB/statuses/1fb56f76f9d3d3bf68b9a69afe263b73a7c0d0a2"}}}}
{"actor":{"display_login":"einhverfr"}}