From: Michael Vogel Date: Sun, 1 Dec 2013 09:57:27 +0000 (+0100) Subject: fbpost: Bugfix: The link to the reauthentification was directed to the wrong plugin. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc689ea91d35eca0967594b52d512c83844ded35;p=friendica-addons.git fbpost: Bugfix: The link to the reauthentification was directed to the wrong plugin. --- diff --git a/fbpost/fbpost.php b/fbpost/fbpost.php index fb6ebcda..cba2a028 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]"); } }