From 369c35bcaeb6890d215d3e2d924d18dd2e639d46 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Nov 2004 20:51:14 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Ajout=20test=20sur=20d=E9finition=20du?= =?UTF-8?q?=20login=20webcalendar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/webcal.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/lib/webcal.class.php b/htdocs/lib/webcal.class.php index 89e8deae9ef..fa78f3591fb 100644 --- a/htdocs/lib/webcal.class.php +++ b/htdocs/lib/webcal.class.php @@ -74,6 +74,8 @@ class Webcal { function add($user, $date, $texte, $desc) { + global $langs; + // Test si login webcal défini pour le user if (! $user->webcal_login) { $this->error=$langs->trans("ErrorWebcalLoginNotDefined","id."\">".$user->login."");