1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

PHP8 - BC Fix for newforumposts_menu.php

This commit is contained in:
Cameron
2021-01-09 10:08:57 -08:00
parent 3b06fac636
commit e948c6fc11
4 changed files with 45 additions and 1 deletions

View File

@@ -745,6 +745,10 @@ class language{
{
define($old, constant($new));
}
elseif(empty($new) && !defined($old))
{
define($old,'');
}
}