1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Merge pull request #4831 from Deltik/fix/4830

Fixes #4830: Sensible no delete log in `admin_log_ui::maintenanceProcess()`
This commit is contained in:
Cameron
2022-09-29 12:08:02 -07:00
committed by GitHub

View File

@@ -403,7 +403,13 @@ class admin_log_ui extends e_admin_ui
}
else
{
$mes->addWarning(RL_LAN_054." : ".$sql->mySQLresult);
$message = RL_LAN_054;
$lastErrorText = $sql->getLastErrorText();
if ($lastErrorText)
{
$message .= "<br />$lastErrorText";
}
$mes->addWarning($message);
}
}