nidebr/as-stats-gui

Missing argument when menu() function is called from history.php

Closed this issue · 1 comments

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function menu(), 0 passed in /opt/as-stats-gui/history.php on line 72 and exactly 1 expected in /opt/as-stats-gui/func.inc:256 Stack trace:
#0 /opt/as-stats-gui/history.php(72): menu() #1 {main} thrown in /opt/as-stats-gui/func.inc on line 256

It will be the same story for asset.php, linkusage.php and sample-blank.php

Small patch included as an attachment. Tested with the latest GIT version.
as-stats-gui_patch.txt

.

Hi,

Thanks for your patch, I just commit it.

BR.