Fixes #1169: anchor doesn't work when enablePrettyUrl is false.

This commit is contained in:
Qiang Xue
2013-11-11 07:28:55 -05:00
parent faed08e620
commit a408b75318

View File

@@ -251,7 +251,7 @@ class UrlManager extends Component
if (!empty($params)) { if (!empty($params)) {
$url .= '&' . http_build_query($params); $url .= '&' . http_build_query($params);
} }
return $url; return $url . $anchor;
} }
} }