use db error logger for common_save_replies

darcs-hash:20080707061639-84dde-a52c5533d52841072acf50a013a89962e4eb644d.gz
This commit is contained in:
Evan Prodromou 2008-07-07 02:16:39 -04:00
parent fac74ecba1
commit 208b82a299

View File

@ -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;
}
}