summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;