aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-20 15:11:36 -0700
committerFriendika <info@friendika.com>2011-05-20 15:11:36 -0700
commit5f20925220574323e8d32483e57ef9ebbf0b3256 (patch)
tree96261c44bb4de548ab8a9b6e6c73f6ff0efa0634
parent1fcf8ff5deaf1b175c41e4b6ef3d8a396a6de8dd (diff)
downloadvolse-hubzilla-5f20925220574323e8d32483e57ef9ebbf0b3256.tar.gz
volse-hubzilla-5f20925220574323e8d32483e57ef9ebbf0b3256.tar.bz2
volse-hubzilla-5f20925220574323e8d32483e57ef9ebbf0b3256.zip
deny link not clickable on admin approval notification page
-rw-r--r--addon/statusnet/statusnet.php4
-rw-r--r--boot.php2
-rw-r--r--mod/notifications.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php
index 358291d29..1d12292c8 100644
--- a/addon/statusnet/statusnet.php
+++ b/addon/statusnet/statusnet.php
@@ -123,7 +123,7 @@ function statusnet_settings_post ($a,$post) {
notice( t('We could not contact the StatusNet API with the Path you entered.').EOL );
}
}
- header('Location: '.$a->get_baseurl().'/settings/addon');
+ goaway($a->get_baseurl().'/settings/addon');
} else {
if (isset($_POST['statusnet-pin'])) {
// if the user supplied us with a PIN from Twitter, let the magic of OAuth happen
@@ -141,7 +141,7 @@ function statusnet_settings_post ($a,$post) {
set_pconfig(local_user(),'statusnet', 'oauthsecret', $token['oauth_token_secret']);
set_pconfig(local_user(),'statusnet', 'post', 1);
// reload the Addon Settings page, if we don't do it see Bug #42
- header('Location: '.$a->get_baseurl().'/settings/addon');
+ goaway($a->get_baseurl().'/settings/addon');
} else {
// if no PIN is supplied in the POST variables, the user has changed the setting
// to post a tweet for every new __public__ posting to the wall
diff --git a/boot.php b/boot.php
index 66a76f49d..73aa4df63 100644
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
-define ( 'FRIENDIKA_VERSION', '2.2.985' );
+define ( 'FRIENDIKA_VERSION', '2.2.986' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1054 );
diff --git a/mod/notifications.php b/mod/notifications.php
index fa5165b0b..b860f6018 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -151,7 +151,7 @@ function notifications_content(&$a) {
foreach($r as $rr) {
$o .= '<li>' . sprintf('%s (%s) : ', $rr['name'],$rr['email'])
. '<a href="regmod/allow/' . $rr['hash'] .'">' . t('Approve')
- . '</a> - <href="regmod/deny/' . $rr['hash'] . '">' . t('Deny') . '</a></li>' . "\r\n";
+ . '</a> - <a href="regmod/deny/' . $rr['hash'] . '">' . t('Deny') . '</a></li>' . "\r\n";
}
$o .= "</ul>";
}