Closed jpmmartins closed 2 months ago
I was getting an error
PHP message: PHP Fatal error: Uncaught Error: Undefined constant "last" in /var/www/html/plugins/generic/inlineHtmlGalley/InlineHtmlGalleyPlugin.inc.php
and I was not able to figure out this syntax in the context of foreach.
Ah, this should be break
, not last
.
This fixes a function call, which is not statically supported in PHP 8 any more.