From cc689ea91d35eca0967594b52d512c83844ded35 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 1 Dec 2013 10:57:27 +0100 Subject: [PATCH] fbpost: Bugfix: The link to the reauthentification was directed to the wrong plugin. --- fbpost/fbpost.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fbpost/fbpost.php b/fbpost/fbpost.php index fb6ebcda2..cba2a0280 100644 --- a/fbpost/fbpost.php +++ b/fbpost/fbpost.php @@ -808,10 +808,10 @@ function fbpost_post_hook(&$a,&$b) { */ function fbpost_enotify(&$app, &$data) { if (x($data, 'params') && $data['params']['type'] == NOTIFY_SYSTEM && x($data['params'], 'system_type') && $data['params']['system_type'] == 'facebook_connection_invalid') { - $data['itemlink'] = '/facebook'; + $data['itemlink'] = '/fbpost'; $data['epreamble'] = $data['preamble'] = t('Your Facebook connection became invalid. Please Re-authenticate.'); $data['subject'] = t('Facebook connection became invalid'); - $data['body'] = sprintf( t("Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."), $data['params']['to_name'], "[url=" . $app->config["system"]["url"] . "]" . $app->config["sitename"] . "[/url]", "[url=" . $app->config["system"]["url"] . "/facebook]", "[/url]"); + $data['body'] = sprintf( t("Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."), $data['params']['to_name'], "[url=" . $app->config["system"]["url"] . "]" . $app->config["sitename"] . "[/url]", "[url=" . $app->config["system"]["url"] . "/fbpost]", "[/url]"); } }