]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Fixes: (#5404)
[friendica.git] / mod / follow.php
index 1292d24e3359ca9f401cae2853178ede9094e96e..fbd0be59045f94595ffc2ec75e29ef1a9cf6d6fd 100644 (file)
@@ -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:')
        ]);