]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ensure that there's a session before redirecting the user
authorEvan Prodromou <evan@prodromou.name>
Thu, 24 Jul 2008 23:18:33 +0000 (19:18 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 24 Jul 2008 23:18:33 +0000 (19:18 -0400)
darcs-hash:20080724231833-84dde-965c41484ecf9b85b1979e8ac76314a6b0d951ee.gz

actions/remotesubscribe.php

index cb672e868c73e6be52e00052f93aeb77020c18b2..d1baa4152f6c1a82db8c9ffbbd5c122473d0cea8 100644 (file)
@@ -339,6 +339,8 @@ class RemotesubscribeAction extends Action {
                $omb['post_notice_url'] = omb_service_uri($omb[OMB_ENDPOINT_POSTNOTICE]);
                $omb['update_profile_url'] = omb_service_uri($omb[OMB_ENDPOINT_UPDATEPROFILE]);
 
+               common_ensure_session();
+               
                $_SESSION['oauth_authorization_request'] = $omb;
 
                # Redirect to authorization service