From d0d83ab8d7669a38700dfc04229a279f6c0e482c Mon Sep 17 00:00:00 2001 From: ReCaffeinated Date: Mon, 22 Aug 2016 15:35:36 -0500 Subject: We're reworking the error handler# --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post.php') diff --git a/post.php b/post.php index 99ef4850..0022f178 100644 --- a/post.php +++ b/post.php @@ -325,7 +325,7 @@ if (isset($_POST['delete'])) { $post['file_tmp'] = tempnam($config['tmp'], 'url'); function unlink_tmp_file($file) { @unlink($file); - fatal_error_handler(); + error(); } register_shutdown_function('unlink_tmp_file', $post['file_tmp']); -- cgit v1.3