Commit a408b753 by Qiang Xue

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

parent faed08e6
......@@ -251,7 +251,7 @@ class UrlManager extends Component
if (!empty($params)) {
$url .= '&' . http_build_query($params);
}
return $url;
return $url . $anchor;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment