diff --git a/framework/yii/web/UrlManager.php b/framework/yii/web/UrlManager.php index c5f4c28..42b12ff 100644 --- a/framework/yii/web/UrlManager.php +++ b/framework/yii/web/UrlManager.php @@ -251,7 +251,7 @@ class UrlManager extends Component if (!empty($params)) { $url .= '&' . http_build_query($params); } - return $url; + return $url . $anchor; } }