From 2a28a51d2453b66fc59084eec945a0452dc670ba Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Fri, 23 Dec 2011 11:29:03 +0000 Subject: small fix in TPanel --- framework/Web/UI/WebControls/TPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TPanel.php') 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 -- cgit v1.2.3