forked from GNUsocial/gnu-social
fix constant in common_db_log_error
darcs-hash:20080707061912-84dde-944b786092dbd40f784ee4c4698d9abf7eab4ffd.gz
This commit is contained in:
parent
208b82a299
commit
97f9d226dd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user