summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TImage.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TImage.php')
-rw-r--r--framework/Web/UI/WebControls/TImage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php
index f995da8e..e4b07f79 100644
--- a/framework/Web/UI/WebControls/TImage.php
+++ b/framework/Web/UI/WebControls/TImage.php
@@ -47,7 +47,7 @@ class TImage extends TWebControl
$writer->addAttribute('longdesc',$desc);
if(($align=$this->getImageAlign())!=='')
$writer->addAttribute('align',$align);
- if(($width=$this->getBorderWidth())==='')
+ if($this->getBorderWidth()==='')
$writer->addStyleAttribute('border-width','0px');
parent::addAttributesToRender($writer);
}