Description PREM (Podium race e manager) is management software for races and race leagues. It can be used to create overviews of race results. Based on Paddock 7.10beta by: demontpx
Describe the bug
When loading a fresh copy of the database with no entries, this produces an error in the standings block. It is a PHP Notice but should not be there.
Notice: Undefined variable: standing_pages in /var/www/html/PREM-Podium-race-E-manager/blocks/standings.php on line 69
To Reproduce
Steps to reproduce the behavior:
Load fresh database
Enable PHP Errors
Navigate to main index.php page.
See error
Expected behavior
You should just see an empty block or a message stating no standings found.
Describe the bug When loading a fresh copy of the database with no entries, this produces an error in the standings block. It is a PHP Notice but should not be there.
Notice: Undefined variable: standing_pages in /var/www/html/PREM-Podium-race-E-manager/blocks/standings.php on line 69
To Reproduce Steps to reproduce the behavior:
Expected behavior You should just see an empty block or a message stating no standings found.
Screenshots https://www.screencast.com/t/xBTZz5dEUULB
Desktop (please complete the following information):