From a0596f05996540106895436cac38ac074db39364 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 14 Feb 2007 14:13:06 +0000 Subject: log all it::errors --- it.class | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/it.class b/it.class index e02ba5f..02b764a 100644 --- a/it.class +++ b/it.class @@ -67,7 +67,7 @@ function timerlog($label = '') * @param $to (optional) comma separated recipient list * @param named parameter id identifier of error. if given, only subsequent errors of same id will trigger message * @param named parameter timewindow number of seconds within which the second error must occur - * @param named parameter graceperiod numer of seconds within which additional errors are ignored + * @param named parameter graceperiod number of seconds within which additional errors are ignored */ function error($p = array(), $body = "", $to = "") { @@ -124,10 +124,10 @@ function error($p = array(), $body = "", $to = "") fputs($pipe, $body); pclose($pipe); } - - error_log("it::error: ".$title); } } + + error_log("it::error: ".$title); } -- cgit v1.2.3