mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Make sure setAllowMultibyte
is on when looking up by URLSegment
This commit is contained in:
parent
767250435e
commit
d392ca72f1
@ -709,6 +709,7 @@ class Blog_Controller extends Page_Controller
|
|||||||
|
|
||||||
if ($urlSegment) {
|
if ($urlSegment) {
|
||||||
$filter = URLSegmentFilter::create();
|
$filter = URLSegmentFilter::create();
|
||||||
|
$filter->setAllowMultibyte(true);
|
||||||
|
|
||||||
return Member::get()
|
return Member::get()
|
||||||
->filter('URLSegment', $filter->filter($urlSegment))
|
->filter('URLSegment', $filter->filter($urlSegment))
|
||||||
|
Loading…
Reference in New Issue
Block a user