]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
correct field name
[quix0rs-gnu-social.git] / actions / newnotice.php
index a3ba4c9ccf77570a98eb182ff7e9ab2303ada249..6d98c820cc46d4f8b40ef7d8376ea354175528a6 100644 (file)
@@ -61,7 +61,7 @@ class NewnoticeAction extends Action {
                }
 
                $orig = clone($notice);
-               $notice->uri = common_mint_tag('notice:' . $id);
+               $notice->uri = common_notice_uri($notice);
                
                if (!$notice->update($orig)) {
                        common_server_error(_t('Problem saving notice.'));
@@ -91,4 +91,4 @@ class NewnoticeAction extends Action {
                common_notice_form();
                common_show_footer();
        }
-}
\ No newline at end of file
+}