From 3c5828b1a787bffa6e886a4952741e4bcaeb43b9 Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Tue, 20 Jul 2021 12:29:11 -0600 Subject: A bit of code cleanup --- includes/error.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/error.php') diff --git a/includes/error.php b/includes/error.php index 1450a28..ba236ac 100755 --- a/includes/error.php +++ b/includes/error.php @@ -3,7 +3,7 @@ function user_notice($message) { echo '
'. $message .'
'; } -function handle_error($errno, $errstr, $errfile, $errline) { +function handle_error($errno, $errstr) { if (!(error_reporting() & $errno)) { // This error code is not included in error_reporting, so let it fall // through to the standard PHP error handler @@ -22,4 +22,4 @@ function handle_error($errno, $errstr, $errfile, $errline) { } $old_error_handler = set_error_handler('handle_error'); -?> + -- cgit v1.2.3