use db error logger for common_save_replies
darcs-hash:20080707061639-84dde-a52c5533d52841072acf50a013a89962e4eb644d.gz
This commit is contained in:
parent
fac74ecba1
commit
208b82a299
|
@ -849,7 +849,7 @@ function common_save_replies($notice) {
|
|||
$reply->replied_id = $recipient_notice->id;
|
||||
$id = $reply->insert();
|
||||
if (!$id) {
|
||||
common_server_error(_t('Problem saving reply.'));
|
||||
common_log_db_error($reply, 'INSERT', __FILE__);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user