diff options
Diffstat (limited to 'requirements')
-rw-r--r-- | requirements/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements/index.php b/requirements/index.php index 76b6356e..36ffac29 100644 --- a/requirements/index.php +++ b/requirements/index.php @@ -235,7 +235,7 @@ function getPreferredLanguage() {
$langs=getUserLanguages();
$lang=explode('-',$langs[0]);
- if(empty($lang[0]) || !ctype_alpha($lang[0]))
+ if(empty($lang[0]) || !function_exists('ctype_alpha') || !ctype_alpha($lang[0]))
$language='en';
else
$language=$lang[0];
|