Browse Source

Supress PHP errors because we catch them ourselves.

Thijs Kinkhorst 22 years ago
parent
commit
ad6eef9bfb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/options/personal.php

+ 1 - 1
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;