Vincent
Well-known member
Hello,
Was looking around in the ACP today and I noticed that the "Clear Server Error Log" (The button that deletes all your error logs) shows if no errors are logged.
Because XenForo is close to perfect, I found this not worth not mentioning
To fix, change in Admin Templates in the template log_server_error
to
Was looking around in the ACP today and I noticed that the "Clear Server Error Log" (The button that deletes all your error logs) shows if no errors are logged.
Because XenForo is close to perfect, I found this not worth not mentioning
To fix, change in Admin Templates in the template log_server_error
Code:
<xen:topctrl><a href="{xen:adminlink logs/server-error/clear}" class="button OverlayTrigger">{xen:phrase clear_server_error_log}</a></xen:topctrl>
to
Code:
<xen:if is="{xen:count $entries} > 0">
<xen:topctrl><a href="{xen:adminlink logs/server-error/clear}" class="button OverlayTrigger">{xen:phrase clear_server_error_log}</a></xen:topctrl>
</xen:if>