summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TListControl.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-03-19 21:20:47 +0000
committergodzilla80@gmx.net <>2009-03-19 21:20:47 +0000
commitde021710e1c0dae732e61ecb42a9ac60440f55ee (patch)
treedffb0f86c8db116759087d2795470d1e2cda9c5f /framework/Web/UI/WebControls/TListControl.php
parent798783263a8638675c0df2d1274fb1947ef79d1b (diff)
replace is_null() function calls with native native language constuct
Diffstat (limited to 'framework/Web/UI/WebControls/TListControl.php')
-rw-r--r--framework/Web/UI/WebControls/TListControl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php
index 55b272c6..c69b387e 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -913,7 +913,7 @@ class TListItemCollection extends TList
protected function createNewListItem($text=null)
{
$item = new TListItem;
- if(!is_null($text))
+ if($text!==null)
$item->setText($text);
return $item;
}