1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Issue #4299 - PHP8 compatibility fixes.

This commit is contained in:
Cameron
2020-12-25 10:23:56 -08:00
parent 76d72b1c08
commit 7dfac0dcfa
27 changed files with 145 additions and 81 deletions

View File

@@ -604,6 +604,11 @@ e107::js('footer-inline', js());
private function addPageActivate()
{
if(empty($_POST['activate']))
{
return null;
}
$ue = e107::getUserExt();
$tp = e107::getParser();
$ret = "";
@@ -643,6 +648,11 @@ e107::js('footer-inline', js());
private function addPageDeactivate()
{
if(empty($_POST['deactivate']))
{
return null;
}
$tp = e107::getParser();
$sql = e107::getDb();
$ue = e107::getUserExt();