The source project of this merge request has been removed.
Arrays should not be null, PHP log should not fill with errors
Arrays should not be null, PHP log should not fill with errors. (necessary update to navbanner_options, so that the PHP logs aren't spammed with warnings when the addon is activated) Utilises PHP Null Coalescing Operator, available from PHP 7+
Example of php log warning entry:
[02-Feb-2024 16:33:10 LOC] PHP Warning: Trying to access array offset on value of type null in /var/www/html/extend/addon/hzaddons/navbanner_options/navbanner_options.php on line 26
Edited by Ghost User