]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct url for new message form
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 24 Sep 2008 21:02:54 +0000 (17:02 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 24 Sep 2008 21:02:54 +0000 (17:02 -0400)
darcs-hash:20080924210254-5ed1f-2c6fd16b9be0dafb3b72ef23b53193db5e188b46.gz

lib/util.php

index 624d3b7e706b935ff2a22a920ac572c6411b40c5..621fdc1371ee13aeda04e9bd954bd380519e9fde 100644 (file)
@@ -1693,7 +1693,7 @@ function common_message_form($content, $user, $to) {
        
        common_element_start('form', array('id' => 'message_form',
                                                                           'method' => 'post',
-                                                                          'action' => $this->self_url()));
+                                                                          'action' => common_local_url('newmessage')));
        
        $mutual_users = $user->mutuallySubscribedUsers();