From: Evan Prodromou Date: Mon, 7 Jul 2008 06:16:39 +0000 (-0400) Subject: use db error logger for common_save_replies X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=208b82a299cedae62f0ee649e35e03b24c53f0e3;p=quix0rs-gnu-social.git use db error logger for common_save_replies darcs-hash:20080707061639-84dde-a52c5533d52841072acf50a013a89962e4eb644d.gz --- diff --git a/lib/util.php b/lib/util.php index 6e3303324e..d518bd317f 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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; } }