summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-10-02 21:22:52 +0000
committerctrlaltca@gmail.com <>2011-10-02 21:22:52 +0000
commit11a6f4370bca4175c83e495cfaae9925a6788c98 (patch)
treec0dd44ebaed743856d1731b53f146d9f849c2a6c /framework
parent72dd599070900fabb1e1501a7b39067703acec35 (diff)
added workaround for #342
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TStyle.php2
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]));
}