got two lines reversed
darcs-hash:20080827211940-84dde-d5b404023a2fb6b74b6255dd91910c9ec7df3cc6.gz
This commit is contained in:
parent
35ed6f473c
commit
cd5dc3246e
@ -1075,8 +1075,8 @@ function common_enqueue_notice($notice) {
|
||||
$qi->notice_id = $notice->id;
|
||||
$qi->transport = $transport;
|
||||
$qi->created = $notice->created;
|
||||
if (!$result) {
|
||||
$result = $qi->insert();
|
||||
if (!$result) {
|
||||
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
|
||||
common_log(LOG_ERR, 'DB error inserting queue item: ' . $last_error->message);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user