summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index c60237ffb..b9b1ac718 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.');
}