summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-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('&', '&', $value); //for placing url, we need to strip out the &
+ $this->getPage()->getCallbackClient()->setAttribute($this, 'href', $url);
+ }
}
/**