summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
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