+ return;
+ }
+
+ $id = $notice->insert();
+
+ if (!$id) {
+ common_server_error(_t('Problem saving notice.'));
+ return;
+ }
+
+ $orig = clone($notice);
+ $notice->uri = common_mint_tag('notice:' . $id);
+
+ if (!$notice->update($orig)) {
+ common_server_error(_t('Problem saving notice.'));
+ return;