From: Philipp Holzer Date: Thu, 30 May 2019 11:38:00 +0000 (+0200) Subject: normal comparison X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa33a79e1349e37a042137ef6cc0667a2eea2c6c;p=friendica.git normal comparison --- diff --git a/mod/redir.php b/mod/redir.php index 0e93a63fc2..233ec9b007 100644 --- a/mod/redir.php +++ b/mod/redir.php @@ -72,8 +72,8 @@ function redir_init(App $a) { { foreach ($_SESSION['remote'] as $v) { if (!empty($v['uid']) && !empty($v['cid']) && - $v['uid'] === Session::get('visitor_visiting') && - $v['cid'] === Session::get('visitor_id')) { + $v['uid'] == Session::get('visitor_visiting') && + $v['cid'] == Session::get('visitor_id')) { // Remote user is already authenticated. $target_url = defaults($url, $contact_url); Logger::log($contact['name'] . " is already authenticated. Redirecting to " . $target_url, Logger::DEBUG);