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

PHP 8.1 fixes.

This commit is contained in:
Cameron
2021-11-25 10:18:53 -08:00
parent 98b8955185
commit 9d6a9611e2
17 changed files with 110 additions and 88 deletions

View File

@@ -325,6 +325,7 @@ class admin_log_ui extends e_admin_ui
$log = e107::getLog();
$frm = e107::getForm();
$sql = e107::getDb();
$tp = e107::getParser();
$back_count = 0;
$action = '';
@@ -371,7 +372,7 @@ class admin_log_ui extends e_admin_ui
if(($action == "backdel") && isset($_POST['backdeltype']))
{
// $old_date = intval($qs[1]);
$old_string = strftime("%d %B %Y", $old_date);
$old_string = $tp->toDate($old_date, "%d %B %Y");
$qry = "dblog_datestamp < ".$old_date; // Same field for both logs
switch($_POST['backdeltype'])