1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

#4830: Sensible no delete log in admin_log_ui::maintenanceProcess()

Fixes: #4830
This commit is contained in:
Nick Liu 2022-07-28 23:32:14 +02:00
parent a181afcbd8
commit 62b5c84f7a
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

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