X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=8b0bd472513fd9c5a1ca9bbd457a60ce963682d3;hb=2592c3891ce3134d591c890c7bd7f789f554f208;hp=41e177ce3bedf76da20f0d9b46a0d78287ed5c8e;hpb=c72c64a6d82063877e7f3013428ddef0dd44fd1b;p=friendica.git diff --git a/index.php b/index.php index 41e177ce3b..8b0bd47251 100644 --- a/index.php +++ b/index.php @@ -107,7 +107,7 @@ if (x($_SESSION, 'language') && ($_SESSION['language'] !== $lang)) { L10n::loadTranslationTable($lang); } -if ((x($_GET,'zrl')) && $a->mode == App::MODE_NORMAL) { +if (!empty($_GET['zrl']) && $a->mode == App::MODE_NORMAL) { $a->query_string = Profile::stripZrls($a->query_string); if (!local_user()) { // Only continue when the given profile link seems valid