summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2007-03-30 11:27:19 +0000
committerwei <>2007-03-30 11:27:19 +0000
commita29a225724121eddbb32ddc9aad484e83361cc18 (patch)
treee983c9d88e6671637478f210420ef9aac419d222 /framework
parentd223df797d277acc61b47e9303a0c2537c72d9e7 (diff)
Fixed #500
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHyperLink.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLink.php b/framework/Web/UI/ActiveControls/TActiveHyperLink.php
index 44638759..e92c1b19 100644
--- a/framework/Web/UI/ActiveControls/TActiveHyperLink.php
+++ b/framework/Web/UI/ActiveControls/TActiveHyperLink.php
@@ -81,7 +81,10 @@ class TActiveHyperLink extends THyperLink implements IActiveControl
{
parent::setNavigateUrl($value);
if($this->getActiveControl()->canUpdateClientSide())
- $this->getPage()->getCallbackClient()->setAttribute($this, 'href', $value);
+ {
+ $url = str_replace('&amp;', '&', $value); //for placing url, we need to strip out the &amp;
+ $this->getPage()->getCallbackClient()->setAttribute($this, 'href', $url);
+ }
}
/**