From 4c2ddfb8681392b98f0c10ef7f40937c77e5f20f Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 21 Dec 2008 04:42:25 +0000 Subject: INFO -> log::INFO --- core/helpers/log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers') diff --git a/core/helpers/log.php b/core/helpers/log.php index 906aa034..a5a0a079 100644 --- a/core/helpers/log.php +++ b/core/helpers/log.php @@ -30,7 +30,7 @@ class log_Core { * @param integer $severity INFO, WARNING or ERROR * @param string $html an html snippet presented alongside the log message to aid the admin */ - function add($category, $message, $severity=INFO, $html) { + function add($category, $message, $severity=log::INFO, $html="") { $log = ORM::factory("log"); $log->category = $category; $log->message = $message; -- cgit v1.2.3