summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-12-23 11:29:03 +0000
committerctrlaltca@gmail.com <>2011-12-23 11:29:03 +0000
commit2a28a51d2453b66fc59084eec945a0452dc670ba (patch)
tree1b8cf9de3e1d69e480f226cd2372f1423395ecd5 /framework/Web/UI
parentbadff05304d2644fd3c39c7549c89c4cec05dffe (diff)
small fix in TPanel
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TPanel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php
index 227a9a3e..0a4a3a93 100644
--- a/framework/Web/UI/WebControls/TPanel.php
+++ b/framework/Web/UI/WebControls/TPanel.php
@@ -235,7 +235,7 @@ class TPanel extends TWebControl
if (count($buttons)>0)
$button = reset($buttons);
else
- $buttons = null;
+ $button = null;
if($button===null)
throw new TInvalidDataValueException('panel_defaultbutton_invalid',$butt);
else