Bug: Division by zero error in admin.php

Warning: Division by zero in /home/www/[removed]/web/wp-content/plugins/easyreservations/lib/functions/admin.php on line 863

Thanks for reporting, already fixed for next version.
Damn calculation through 0. Why cant it simply result in 0 instead of just error in maths.

Ha! I’ve just checked the code: assumptions are programmer’s worst enemies! By the way, it would be great to indicate which version will fix this bug (e.g. fixed in future version 3.0.3) for reference (someone might have the same bug, a search will find this post and your reply will then hint on waiting for the next release).

You must be logged in to reply in this thread.

3 posts