diff options
author | xue <> | 2006-10-29 12:29:16 +0000 |
---|---|---|
committer | xue <> | 2006-10-29 12:29:16 +0000 |
commit | a9951e6a822996057e5b05a873ea468045f37728 (patch) | |
tree | 9401c8bc143f064d97bfc24bc7d53e65a10a77d3 /framework/Web/THttpRequest.php | |
parent | 3f0a1f7f88ac6728615f4cbdee7e9d7ebe40d5c2 (diff) |
constructUrl() now encodes & into & by default.
TRepeater does not render <span> anymore for empty item template.
Diffstat (limited to 'framework/Web/THttpRequest.php')
-rw-r--r-- | framework/Web/THttpRequest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php index 90007fa2..44efb14b 100644 --- a/framework/Web/THttpRequest.php +++ b/framework/Web/THttpRequest.php @@ -482,12 +482,12 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar * @param string service ID
* @param string service parameter
* @param array GET parameters, null if not needed
- * @param boolean whether to encode the ampersand in URL, defaults to false.
+ * @param boolean whether to encode the ampersand in URL, defaults to true.
* @param boolean whether to encode the GET parameters (their names and values), defaults to true.
* @return string URL
* @see parseUrl
*/
- public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand=false,$encodeGetItems=true)
+ public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand=true,$encodeGetItems=true)
{
$url=$serviceID.'='.$serviceParam;
$amp=$encodeAmpersand?'&':'&';
|