1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +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
commit 2de233665c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}