diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/WebControls/TPanel.php | 2 |
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
|