diff options
author | ctrlaltca@gmail.com <> | 2011-12-23 11:29:03 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-12-23 11:29:03 +0000 |
commit | 2a28a51d2453b66fc59084eec945a0452dc670ba (patch) | |
tree | 1b8cf9de3e1d69e480f226cd2372f1423395ecd5 /framework | |
parent | badff05304d2644fd3c39c7549c89c4cec05dffe (diff) |
small fix in TPanel
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
|