1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

PHP8 Compatibility and code cleanup.

This commit is contained in:
Cameron
2020-12-08 12:21:12 -08:00
parent a094a8fb73
commit afaac88003
49 changed files with 264 additions and 225 deletions

View File

@@ -37,7 +37,7 @@ if (isset($_POST['update_menu']))
$tp = e107::getParser();
while (list($key, $value) = each($_POST))
foreach($_POST as $key=>$value)
{
if($key == "comment_caption")
{
@@ -61,7 +61,7 @@ if (isset($_POST['update_menu']))
if($menu_config->save(false))
{
$mes->addSuccess();
$mes->addSuccess(LAN_SAVED);
}
/*if ($admin_log->logArrayDiffs($old, $menu_config->getPref(), 'MISC_04'))
{
@@ -117,6 +117,6 @@ $text = "
</div>
</form>";
$ns->tablerender(CM_L8, $mes->render() . $text);
e107::getRender()->tablerender(CM_L8, $mes->render() . $text);
require_once(e_ADMIN."footer.php");