From 97f9d226dd9ac9620ff8a904af6eff065bcac198 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 7 Jul 2008 02:19:12 -0400 Subject: fix constant in common_db_log_error darcs-hash:20080707061912-84dde-944b786092dbd40f784ee4c4698d9abf7eab4ffd.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.2.3-54-g00ecf