From 3a262a3bcd0c794f12d97b28be33b1c262063718 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 24 Jul 2008 19:18:33 -0400 Subject: [PATCH] ensure that there's a session before redirecting the user darcs-hash:20080724231833-84dde-965c41484ecf9b85b1979e8ac76314a6b0d951ee.gz --- actions/remotesubscribe.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index cb672e868c..d1baa4152f 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -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 -- 2.39.5