diff --git a/lib/util.php b/lib/util.php index d518bd317f..6c5f4cd7af 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) {