Fix strict warnings in optgroups/dropdowns
PHP 5.6 and below throw a strict standards warning at the changed lines. An intermediate variable is introduced to avoid this warning. PHP 7+ changes the severity of this warning to E_NOTICE which is suppressed by DokuWiki. This error was introduced in #1778
Please register or sign in to comment