From 411fbb72f5a4c72e43af08ee403c79c73eb4b53f Mon Sep 17 00:00:00 2001 From: knut <> Date: Wed, 30 Jul 2008 01:43:12 +0000 Subject: fixed #890 --- framework/I18N/core/HTTPNegotiator.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'framework/I18N/core/HTTPNegotiator.php') 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(); -- cgit v1.2.3