renlok / WeBid

The official WeBid github fork
http://www.webidsupport.com
114 stars 124 forks source link

Admin payments methods crashes #469

Closed robberteggermont closed 7 years ago

robberteggermont commented 7 years ago

Standard behavior for browsers is to only sent a value if the checkbox is checked (as per HTML 4 recommendation). When (on submit) none of the "delete[]" checkboxes is checked, PHP fails with an 'Undefined index: delete' error. Fix by adding a check if it is set.