{"action":"opened","issue":{"url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/95","labels_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/95/comments","events_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/95/events","html_url":"https://github.com/dlobo/org.civicrm.module.cividiscount/issues/95","id":73623337,"number":95,"title":"Undefined variable: discountApplied","user":{"login":"sdragnev","id":404918,"avatar_url":"https://avatars.githubusercontent.com/u/404918?v=3","gravatar_id":"","url":"https://api.github.com/users/sdragnev","html_url":"https://github.com/sdragnev","followers_url":"https://api.github.com/users/sdragnev/followers","following_url":"https://api.github.com/users/sdragnev/following{/other_user}","gists_url":"https://api.github.com/users/sdragnev/gists{/gist_id}","starred_url":"https://api.github.com/users/sdragnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdragnev/subscriptions","organizations_url":"https://api.github.com/users/sdragnev/orgs","repos_url":"https://api.github.com/users/sdragnev/repos","events_url":"https://api.github.com/users/sdragnev/events{/privacy}","received_events_url":"https://api.github.com/users/sdragnev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-06T13:37:46Z","updated_at":"2015-05-06T13:37:46Z","closed_at":null,"body":"$discountApplied is not set if event has no discounts so php complains about it.\r\n\r\n> Notice: Undefined variable: discountApplied in cividiscount_civicrm_buildAmount() (line 422 of [...]/org.civicrm.module.cividiscount/cividiscount.php)."}}