summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-26 12:50:29 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-26 12:50:29 -0400
commitf951b9169392b4a31f2b7eb4fb6eb37235ded8f8 (patch)
tree0b2b7c707681b2053b84eba72f52fc1ba62d3b46 /classes/Notice.php
parent85c0d71e1f5733f6dcd7616a2f0829bf333f9751 (diff)
log a db error for inserting the notice
darcs-hash:20080926165029-5ed1f-60059ffeac9a39326fc6286faf4ac13c35127f25.gz
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.');
}