From c030a4d29cf1496f6553d49de8cc14fe20864a61 Mon Sep 17 00:00:00 2001 From: kink Date: Wed, 8 Jan 2003 08:20:34 +0000 Subject: [PATCH] Supress PHP errors because we catch them ourselves. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4399 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/options/personal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/options/personal.php b/include/options/personal.php index fb532f92..e0b7ad2a 100644 --- a/include/options/personal.php +++ b/include/options/personal.php @@ -121,7 +121,7 @@ function load_optpage_data_personal() { if ( $tzChangeAllowed ) { $TZ_ARRAY[SMPREF_NONE] = _("Same as server"); $tzfile = SM_PATH . 'locale/timezones.cfg'; - if(!$fd = fopen($tzfile ,'r')) { + if(!$fd = @fopen($tzfile ,'r')) { $message = _("Error opening timezone config, contact administrator."); plain_error_message($message, $color); exit; -- 2.25.1