{"action":"created","issue":{"url":"https://api.github.com/repos/openemr/openemr/issues/2732","repository_url":"https://api.github.com/repos/openemr/openemr","labels_url":"https://api.github.com/repos/openemr/openemr/issues/2732/labels{/name}","comments_url":"https://api.github.com/repos/openemr/openemr/issues/2732/comments","events_url":"https://api.github.com/repos/openemr/openemr/issues/2732/events","html_url":"https://github.com/openemr/openemr/issues/2732","id":509818546,"node_id":"MDU6SXNzdWU1MDk4MTg1NDY=","number":2732,"title":"error in including globals.php","user":{"login":"dummys","id":1941445,"node_id":"MDQ6VXNlcjE5NDE0NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1941445?v=4","gravatar_id":"","url":"https://api.github.com/users/dummys","html_url":"https://github.com/dummys","followers_url":"https://api.github.com/users/dummys/followers","following_url":"https://api.github.com/users/dummys/following{/other_user}","gists_url":"https://api.github.com/users/dummys/gists{/gist_id}","starred_url":"https://api.github.com/users/dummys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummys/subscriptions","organizations_url":"https://api.github.com/users/dummys/orgs","repos_url":"https://api.github.com/users/dummys/repos","events_url":"https://api.github.com/users/dummys/events{/privacy}","received_events_url":"https://api.github.com/users/dummys/received_events","type":"User","site_admin":false},"labels":[{"id":433468521,"node_id":"MDU6TGFiZWw0MzM0Njg1MjE=","url":"https://api.github.com/repos/openemr/openemr/labels/Status:%20Reviewed","name":"Status: Reviewed","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-10-21T08:44:02Z","updated_at":"2019-10-22T07:12:42Z","closed_at":null,"author_association":"NONE","body":"hi,\r\n\r\nThis line of code made error with PHP 7.3\r\n\r\nhttps://github.com/openemr/openemr/blob/1bc02874fc05e2a44a605a6fd6449e22775aa0cd/library/encounter.inc#L2\r\n\r\nI patched it like this: `include_once(__DIR__.\"/../interface/globals.php\");` and I get no more error."},"comment":{"url":"https://api.github.com/repos/openemr/openemr/issues/comments/544834414","html_url":"https://github.com/openemr/openemr/issues/2732#issuecomment-544834414","issue_url":"https://api.github.com/repos/openemr/openemr/issues/2732","id":544834414,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NDgzNDQxNA==","user":{"login":"dummys","id":1941445,"node_id":"MDQ6VXNlcjE5NDE0NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1941445?v=4","gravatar_id":"","url":"https://api.github.com/users/dummys","html_url":"https://github.com/dummys","followers_url":"https://api.github.com/users/dummys/followers","following_url":"https://api.github.com/users/dummys/following{/other_user}","gists_url":"https://api.github.com/users/dummys/gists{/gist_id}","starred_url":"https://api.github.com/users/dummys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummys/subscriptions","organizations_url":"https://api.github.com/users/dummys/orgs","repos_url":"https://api.github.com/users/dummys/repos","events_url":"https://api.github.com/users/dummys/events{/privacy}","received_events_url":"https://api.github.com/users/dummys/received_events","type":"User","site_admin":false},"created_at":"2019-10-22T07:12:42Z","updated_at":"2019-10-22T07:12:42Z","author_association":"NONE","body":"done see pr\n\nLe mar. 22 oct. 2019 à 09:08, Brady Miller <notifications@github.com> a\nécrit :\n\n> yes, remove that line. It shouldn't be in library scripts. It's always\n> called in running scripts (it sets everything up and does authorization).\n> Rec searching in codebase where encounter.inc is included and you'll note\n> that globals.php is always included in the scripts that use the\n> encounter.inc library.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/openemr/openemr/issues/2732?email_source=notifications&email_token=AAOZ7RLUXUKP3S6WLU5L67TQP2RIBA5CNFSM4JC2DFDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4X6IQ#issuecomment-544833314>,\n> or unsubscribe\n> <https://github.com/notifications/unsubscribe-auth/AAOZ7RPERY6UHETT7FU6SATQP2RIBANCNFSM4JC2DFDA>\n> .\n>\n"}}
{"actor":{"display_login":"dummys"}}