Cancel button doesn't work in fees->payment

Hi…
The “cancel” button in Fees->Payment donot seem to work. Clicking it, doesnt cancel anything. Simply nothing happens. i guess, the payment form should close on clicking it…but it doesnot happen. I am getting this in the php error log -

[Fri Dec 29 17:40:06.313875 2017] [:error] [pid 6044:tid 2012] [client 117.194.216.152:52176] PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\openemr\interface\patient_file\reminder\active_reminder_popup.php on line 65, referer: http://nahahealthclinic.no-ip.org/openemr/interface/patient_file/summary/demographics.php?set_pid=2

(might not be related to this)

Thanks
Arnab

GITHUB ISSUE LINK:

Confirmed and I’m looking into.