diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-21 04:42:25 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-21 04:42:25 +0000 |
commit | 4c2ddfb8681392b98f0c10ef7f40937c77e5f20f (patch) | |
tree | 8d4fab53355f1a5b2e3f6090725035d98539c1b9 | |
parent | b3c05b157969e17db53cb2afe6efe58dbc2b2ba9 (diff) |
INFO -> log::INFO
-rw-r--r-- | core/helpers/log.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |