summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2007-10-09 13:12:10 +0000
committerUrban Müller2007-10-09 13:12:10 +0000
commit1cde1b5afbacd882c2bc0ab2904825b9056c1a3d (patch)
treea13b7bb2461ecdd81b561b6419502a5c2bda495a
parent0474a60865ca1e342ac5c2faa6323e59e4c37c5f (diff)
downloaditools-1cde1b5afbacd882c2bc0ab2904825b9056c1a3d.tar.gz
itools-1cde1b5afbacd882c2bc0ab2904825b9056c1a3d.tar.bz2
itools-1cde1b5afbacd882c2bc0ab2904825b9056c1a3d.zip
minor
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index d6731a2..f39b1dd 100644
--- a/it.class
+++ b/it.class
@@ -190,7 +190,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate
if ($sendmail) # we're mailing: send maximum info
{
$p['title'] = "Alert: " . $p['title'] . " (on " . getenv('HOSTNAME') . ")";
- unset ($p['locals']['_GLOBALS'], $p['locals']['_GET'], $p['locals']['_POST'], $p['locals']['_COOKIE']);
+ unset ($p['locals']['GLOBALS'], $p['locals']['_GET'], $p['locals']['_POST'], $p['locals']['_COOKIE']);
$locals = print_r($p['locals'], true);
$body .= "Host: " . getenv('HOSTNAME') . "\n\n";
$body .= $p['locals'] && strlen($locals) < 100000 ? "Locals: $locals\n\n" : "";