progressivetech / net.ourpowerbase.qrcodecheckin

QRCode Checkin allows you to send an email that contains a scanable code to the registered participants for your event.
Other
16 stars 15 forks source link

Spelling mistake in Checkin.php #27

Closed UeNu9 closed 1 year ago

UeNu9 commented 1 year ago

In the file net.ourpowerbase.qrcodecheckin/api/v3/Qrcodecheckin/Checkin.php at line 45 there is a spelling mistake. The line 45 says: $values = array_pop($results['values']); but the variable $results does not exist there and should be $result instead. Therefore the whole line has to be replaced by: $values = array_pop($result['values']);

This mistake results in the "Update to Attended" button not working (on the page linked in the QR code). It shows an error message and does not update the status.

jmcclelland commented 1 year ago

Thanks. Should be fixed now.