1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Plugin script tests and PHP8 fixes.

This commit is contained in:
Cameron
2021-01-22 13:44:10 -08:00
parent 4b0edad459
commit acc1a9af0d
62 changed files with 799 additions and 1849 deletions

View File

@@ -327,7 +327,7 @@
if(!isset($gen) || !is_object($gen))
{
$gen = new convert;
$gen = e107::getDate();
}
$siteHistory = e107::getConfig('history')->getPref('');
@@ -339,6 +339,7 @@
$scArray['ONLINE_TABLE_MOST_GUESTS_ONLINE'] = ONLINE_EL1 . $siteHistory['most_guests_online'];
$scArray['ONLINE_TABLE_DATESTAMP'] = $datestamp;
$sql = e107::getDb();
$total_members = $sql->count("user", "(*)", "where user_ban = 0");
if($total_members > 1)