1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Extra tests and minor cleanup for PHP 8.3.

This commit is contained in:
camer0n
2023-11-28 12:17:53 -08:00
parent ab64f0f7bf
commit ea8a814ab4
6 changed files with 179 additions and 138 deletions

View File

@@ -341,7 +341,7 @@ echo "</body></html>";
//
$tmp = array();
$magicSC = e107::getRender()->getMagicShortcodes(); // support for {---TITLE---} etc.
$magicSC = (array) e107::getRender()->getMagicShortcodes(); // support for {---TITLE---} etc.
$tmp['search'] = (array) array_keys($magicSC);
$tmp['replace'] = array_values($magicSC);