summaryrefslogtreecommitdiff
path: root/framework/I18N/core/HTTPNegotiator.php
diff options
context:
space:
mode:
authorknut <>2008-07-30 01:43:12 +0000
committerknut <>2008-07-30 01:43:12 +0000
commit411fbb72f5a4c72e43af08ee403c79c73eb4b53f (patch)
tree3915b0d98ca3c0608b56ad280cb08b8837a43dea /framework/I18N/core/HTTPNegotiator.php
parentd15b608ef693c8dbc92c3a5f5ae826ca2812a61f (diff)
fixed #890
Diffstat (limited to 'framework/I18N/core/HTTPNegotiator.php')
-rw-r--r--framework/I18N/core/HTTPNegotiator.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/I18N/core/HTTPNegotiator.php b/framework/I18N/core/HTTPNegotiator.php
index dce40194..66017fda 100644
--- a/framework/I18N/core/HTTPNegotiator.php
+++ b/framework/I18N/core/HTTPNegotiator.php
@@ -51,8 +51,9 @@ class HTTPNegotiator
*/
function getLanguages()
{
- if(!is_null($this->languages))
+ if($this->languages !== null) {
return $this->languages;
+ }
$this->languages = array();
@@ -107,8 +108,9 @@ class HTTPNegotiator
*/
function getCharsets()
{
- if(!is_null($this->charsets))
+ if($this->charsets !== null) {
return $this->charsets;
+ }
$this->charsets = array();