summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-07 02:19:12 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-07 02:19:12 -0400
commit97f9d226dd9ac9620ff8a904af6eff065bcac198 (patch)
tree48aa8d502060b048ebb8bdcc0a51c75bdeab4034 /lib/util.php
parent208b82a299cedae62f0ee649e35e03b24c53f0e3 (diff)
fix constant in common_db_log_error
darcs-hash:20080707061912-84dde-944b786092dbd40f784ee4c4698d9abf7eab4ffd.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index d518bd317..6c5f4cd7a 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1035,7 +1035,7 @@ function common_debug($msg, $filename=NULL) {
function common_log_db_error(&$object, $verb, $filename=NULL) {
$objstr = common_log_objstring($object);
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
- common_log(LOG_ERROR, $last_error->message . '(' . $verb . ' on ' . $objstr . ')', $filename);
+ common_log(LOG_ERR, $last_error->message . '(' . $verb . ' on ' . $objstr . ')', $filename);
}
function common_log_objstring(&$object) {