From dfdc337b025f04cc37c10104cce7ec087fade5b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 28 Nov 2010 12:25:06 +0100 Subject: [PATCH] Prevents annoying warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/profile.php b/modules/profile.php index f9b08fa..1c1d61a 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -318,6 +318,8 @@ class ProfileModule extends PLModule $opened_tab = $hrpid; $hrpid = $aux; $url_error = true; + } else { + $url_error = false; } $profile = $this->findProfile($hrpid); if (! ($profile instanceof Profile) && ($profile == PL_NOT_FOUND || $profile == PL_FORBIDDEN)) { -- 2.1.4