diff options
-rw-r--r-- | it.class | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -127,6 +127,9 @@ static function timerlog($label = '') */ static function error($p = array(), $body = null, $to = null) # $body and $to deprecated { + if ($body || $to) + it::error("deprecated usage of it::error"); + if (!is_array($p)) $p = array('title' => $p, 'body' => $body, 'to' => $to); |