1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02: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

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