From: Evan Prodromou Date: Fri, 26 Sep 2008 16:50:29 +0000 (-0400) Subject: log a db error for inserting the notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f951b9169392b4a31f2b7eb4fb6eb37235ded8f8;p=quix0rs-gnu-social.git log a db error for inserting the notice darcs-hash:20080926165029-5ed1f-60059ffeac9a39326fc6286faf4ac13c35127f25.gz --- diff --git a/classes/Notice.php b/classes/Notice.php index c60237ffb0..b9b1ac7188 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -94,6 +94,7 @@ class Notice extends Memcached_DataObject $id = $notice->insert(); if (!$id) { + common_log_db_error($notice, 'INSERT', __FILE__); return _('Problem saving notice.'); }