From 75d5e41fd320b077abcff96bdbdaac65a88cffc6 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Tue, 3 Jan 2017 09:51:35 +0000 Subject: [PATCH] Zombies arghhhhhhhhh --- html/includes/graphs/graph.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php index 2051ff78fd..e8091a5c9e 100644 --- a/html/includes/graphs/graph.inc.php +++ b/html/includes/graphs/graph.inc.php @@ -53,7 +53,6 @@ if ($auth === true && is_custom_graph($type, $subtype, $device)) { // Graph Template Missing"); } - function graph_error($string) { global $vars, $config, $debug, $graphfile; @@ -77,7 +76,6 @@ function graph_error($string) fpassthru($fd); fclose($fd); unlink($graphfile); - exit(); } } else { if (!$debug) { @@ -89,11 +87,9 @@ function graph_error($string) imagestring($im, 3, $px, ($height / 2 - 8), $string, imagecolorallocate($im, 128, 0, 0)); imagepng($im); imagedestroy($im); - exit(); } } - if ($error_msg) { // We have an error :( graph_error($graph_error);