summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-26 12:52:01 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-26 12:52:01 -0400
commit125953be3195ea3a87874418636bef84ad8a2e1e (patch)
treec87d03b2801ab06c2315ef1f8c9434931c61d5d8
parentf951b9169392b4a31f2b7eb4fb6eb37235ded8f8 (diff)
add some more info on notice update
darcs-hash:20080926165201-5ed1f-8efd0369f1f367dacca450ac3bffd755ea841f6f.gz
-rw-r--r--classes/Notice.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index b9b1ac718..f3debe742 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -104,6 +104,7 @@ class Notice extends Memcached_DataObject
$notice->uri = common_notice_uri($notice);
if (!$notice->update($orig)) {
+ common_log_db_error($notice, 'UPDATE', __FILE__);
return _('Problem saving notice.');
}
}