commit f0b97dbafd29c4ceda7caf6b01469d551aabd12d
parent 22adec5e90eb14bde1118d9365a28cf6b83d7ed5
Author: dankert <devnull@localhost>
Date: Fri, 6 Apr 2007 03:40:03 +0200
Verhindern einer Warnung, wenn Browser kein "Accept-Language:" ?bertr?gt.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/serviceClasses/Http.class.php b/serviceClasses/Http.class.php
@@ -23,7 +23,7 @@ class Http
$conf;
$languages = array();
- $http_languages = $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
+ $http_languages = @$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
foreach( explode(',',$http_languages) as $l )
{
$parts = explode(';',$l);