]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add some more info on notice update
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:52:01 +0000 (12:52 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:52:01 +0000 (12:52 -0400)
darcs-hash:20080926165201-5ed1f-8efd0369f1f367dacca450ac3bffd755ea841f6f.gz

classes/Notice.php

index b9b1ac718872d051aa40f4c42b00582e0dd811f0..f3debe742026695b5b1388c8a177d0f0b31de0af 100644 (file)
@@ -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.');
                        }
                }