summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-04-26 06:22:19 +0000
committergodzilla80@gmx.net <>2009-04-26 06:22:19 +0000
commitf3c0f40446077b91440cb67a3442b23f2d2036b4 (patch)
tree27b45be9f58570a9c0082f6464a3cb0827528b7b /framework/PradoBase.php
parent76c718e9afde72ba03c79bcfe39f63f7c8d2b9d0 (diff)
Fixed Issue #146 - replace deprecated(php5.3>) split with explode in TPgsqlMetaData:getPrimaryKeys(), PradoBase::getUserLanguages()
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index c2d73b16..17f7b53c 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -448,7 +448,7 @@ class PradoBase
$languages=array();
foreach(explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']) as $language)
{
- $array=split(';q=',trim($language));
+ $array=explode(';q=',trim($language));
$languages[trim($array[0])]=isset($array[1])?(float)$array[1]:1.0;
}
arsort($languages);