summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Web/UI/WebControls/TStyle.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php
index f6d91e9b..799af518 100644
--- a/framework/Web/UI/WebControls/TStyle.php
+++ b/framework/Web/UI/WebControls/TStyle.php
@@ -73,6 +73,7 @@ class TStyle extends TComponent
*/
public function __construct($style=null)
{
+ parent::__construct();
if($style!==null)
$this->copyFrom($style);
}