]> git.mxchange.org Git - friendica.git/commitdiff
sn subscription fix
authorfriendica <info@friendica.com>
Sun, 23 Dec 2012 10:47:14 +0000 (02:47 -0800)
committerfriendica <info@friendica.com>
Sun, 23 Dec 2012 10:47:14 +0000 (02:47 -0800)
mod/dfrn_request.php

index b3033c0aa22d0fe8586dd61f9f6496d824a4b9c6..0c03607fc9eee65134d0cc2b36998e54f64ce125 100644 (file)
@@ -358,6 +358,7 @@ function dfrn_request_post(&$a) {
                                        intval($uid)
                                );
                                if(! count($r)) {
+
                                        notice( t('This account has not been configured for email. Request failed.') . EOL);
                                        return;
                                }
@@ -616,7 +617,7 @@ function dfrn_request_post(&$a) {
                         *
                         */
 
-                       $url = str_replace('{uri}', $a->get_baseurl() . '/dfrn_poll/' . $nickname, $url);
+                       $url = str_replace('{uri}', $a->get_baseurl() . '/profile/' . $nickname, $url);
                        goaway($url);
                        // NOTREACHED
                        // END $network === NETWORK_OSTATUS