]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use db error logger for common_save_replies
authorEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 06:16:39 +0000 (02:16 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 06:16:39 +0000 (02:16 -0400)
darcs-hash:20080707061639-84dde-a52c5533d52841072acf50a013a89962e4eb644d.gz

lib/util.php

index 6e3303324e25e126350c097945d72ee0b3dea957..d518bd317f9af91531bb81a8fd224ed5b7f45b42 100644 (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;
                }
        }