From: Stéphane Jacob Date: Sun, 28 Nov 2010 11:25:06 +0000 (+0100) Subject: Prevents annoying warning. X-Git-Tag: xorg/1.0.2~122 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dfdc337b025f04cc37c10104cce7ec087fade5b3;p=platal.git Prevents annoying warning. Signed-off-by: Stéphane Jacob --- 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)) {