summaryrefslogtreecommitdiff
path: root/core/helpers/log.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-21 04:42:25 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-21 04:42:25 +0000
commit4c2ddfb8681392b98f0c10ef7f40937c77e5f20f (patch)
tree8d4fab53355f1a5b2e3f6090725035d98539c1b9 /core/helpers/log.php
parentb3c05b157969e17db53cb2afe6efe58dbc2b2ba9 (diff)
INFO -> log::INFO
Diffstat (limited to 'core/helpers/log.php')
-rw-r--r--core/helpers/log.php2
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;