]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
fix problem with new notices
[quix0rs-gnu-social.git] / actions / newnotice.php
index 8de6643a0f29b5f437c0d49f4873cf8f449a4991..b576e1326641b0c593feae507b644e8742366e72 100644 (file)
@@ -64,7 +64,7 @@ class NewnoticeAction extends Action {
                                                                        array('nickname' => $user->nickname));
                } else {
                        $url = common_local_url('shownotice',
-                                                                       array('notice' => $id));
+                                                                       array('notice' => $notice->id));
                }
                common_redirect($url, 303);
        }