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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user