From de021710e1c0dae732e61ecb42a9ac60440f55ee Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Thu, 19 Mar 2009 21:20:47 +0000 Subject: replace is_null() function calls with native native language constuct --- framework/Web/UI/WebControls/THtmlArea.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/WebControls/THtmlArea.php') diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 7e8bc370..ce789f38 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -451,10 +451,10 @@ class THtmlArea extends TTextBox protected function getLanguageSuffix($culture) { $app = $this->getApplication()->getGlobalization(); - if(empty($culture) && !is_null($app)) + if(empty($culture) && ($app!==null)) $culture = $app->getCulture(); $variants = array(); - if(!is_null($app)) + if($app!==null) $variants = $app->getCultureVariants($culture); foreach($variants as $variant) -- cgit v1.2.3