summaryrefslogtreecommitdiff
path: root/includes/error.php
diff options
context:
space:
mode:
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');
-?>
+