fix constant in common_db_log_error

darcs-hash:20080707061912-84dde-944b786092dbd40f784ee4c4698d9abf7eab4ffd.gz
This commit is contained in:
Evan Prodromou 2008-07-07 02:19:12 -04:00
parent 208b82a299
commit 97f9d226dd

View File

@ -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) {