diff --git a/src/www/diag_logs_template.inc b/src/www/diag_logs_template.inc index c813edbd8..5844b2769 100644 --- a/src/www/diag_logs_template.inc +++ b/src/www/diag_logs_template.inc @@ -52,7 +52,7 @@ if (!empty($_POST['clear'])) { } else { system_clear_log($logfile); } - if (function_exists(clear_hook)) { + if (function_exists('clear_hook')) { clear_hook(); } }