X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=fbd0be59045f94595ffc2ec75e29ef1a9cf6d6fd;hb=4e44b07dfe07dde78fe8a095fbb43d9ec1ffcb53;hp=1292d24e3359ca9f401cae2853178ede9094e96e;hpb=4724c7de72cd7bf40af52f0ca07fdf8313b922f4;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index 1292d24e33..fbd0be5904 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -19,7 +19,7 @@ function follow_post(App $a) // NOTREACHED } - if ($_REQUEST['cancel']) { + if (isset($_REQUEST['cancel'])) { goaway($_SESSION['return_url']); } @@ -166,10 +166,13 @@ function follow_content(App $a) '$url_label' => L10n::t('Profile URL'), '$myaddr' => $myaddr, '$request' => $request, - /*'$location' => Friendica\Content\Text\BBCode::::convert($r[0]['location']), + /* + * @TODO commented out? + '$location' => Friendica\Content\Text\BBCode::::convert($r[0]['location']), '$location_label'=> L10n::t('Location:'), '$about' => Friendica\Content\Text\BBCode::::convert($r[0]['about'], false, false), - '$about_label' => L10n::t('About:'),*/ + '$about_label' => L10n::t('About:'), + */ '$keywords' => $r[0]['keywords'], '$keywords_label'=> L10n::t('Tags:') ]);