Skip to content

Commit

Permalink
Merge pull request #4831 from Deltik/fix/4830
Browse files Browse the repository at this point in the history
Fixes #4830: Sensible no delete log in `admin_log_ui::maintenanceProcess()`
  • Loading branch information
CaMer0n authored Sep 29, 2022
2 parents 3d0df3a + 62b5c84 commit 2de2336
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion e107_admin/admin_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,13 @@ function maintenanceProcess()
}
else
{
$mes->addWarning(RL_LAN_054." : ".$sql->mySQLresult);
$message = RL_LAN_054;
$lastErrorText = $sql->getLastErrorText();
if ($lastErrorText)
{
$message .= "<br />$lastErrorText";
}
$mes->addWarning($message);
}

}
Expand Down

0 comments on commit 2de2336

Please sign in to comment.