summaryrefslogtreecommitdiff
path: root/includes/error.php
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-07-20 12:29:11 -0600
committercflip <36554078+cflip@users.noreply.github.com>2021-07-20 12:29:11 -0600
commit3c5828b1a787bffa6e886a4952741e4bcaeb43b9 (patch)
tree5e40fd78ad3c5301c62207ecfa4bd109a582db69 /includes/error.php
parentf5e972c030675f46cda543e13da1b787457e070b (diff)
A bit of code cleanup
Diffstat (limited to 'includes/error.php')
-rwxr-xr-xincludes/error.php4
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');
-?>
+