]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix problem with new notices
authorEvan Prodromou <evan@prodromou.name>
Mon, 11 Aug 2008 18:11:58 +0000 (14:11 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 11 Aug 2008 18:11:58 +0000 (14:11 -0400)
darcs-hash:20080811181158-84dde-338f926bd4c161ea55ef8600fac254f216413ad4.gz

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);
        }