diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-07-20 12:29:11 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-07-20 12:29:11 -0600 |
commit | 3c5828b1a787bffa6e886a4952741e4bcaeb43b9 (patch) | |
tree | 5e40fd78ad3c5301c62207ecfa4bd109a582db69 /includes/error.php | |
parent | f5e972c030675f46cda543e13da1b787457e070b (diff) |
A bit of code cleanup
Diffstat (limited to 'includes/error.php')
-rwxr-xr-x | includes/error.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 '<p class="error">'. $message .'</p>';
}
-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');
-?>
+
|