diff options
author | ctrlaltca@gmail.com <> | 2011-10-02 21:22:52 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-10-02 21:22:52 +0000 |
commit | 11a6f4370bca4175c83e495cfaae9925a6788c98 (patch) | |
tree | c0dd44ebaed743856d1731b53f146d9f849c2a6c /framework/Web/UI/WebControls/TStyle.php | |
parent | 72dd599070900fabb1e1501a7b39067703acec35 (diff) |
added workaround for #342
Diffstat (limited to 'framework/Web/UI/WebControls/TStyle.php')
-rw-r--r-- | framework/Web/UI/WebControls/TStyle.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 54af9d79..b4c777fb 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.php @@ -386,7 +386,7 @@ class TStyle extends TComponent {
foreach(explode(';',$this->_customStyle) as $style)
{
- $arr=explode(':',$style);
+ $arr=explode(':',$style,2);
if(isset($arr[1]) && trim($arr[0])!=='')
$writer->addStyleAttribute(trim($arr[0]),trim($arr[1]));
}
|