log a db error for inserting the notice
darcs-hash:20080926165029-5ed1f-60059ffeac9a39326fc6286faf4ac13c35127f25.gz
This commit is contained in:
		@@ -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.');
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user