mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Fixed double negation of transliterator checks in FileNameFilter, which meant it wasn't used by default when filtering SiteTree->URLSegment
This commit is contained in:
parent
d30b4b1d00
commit
d1ebe1ce9a
@ -97,7 +97,7 @@ class FileNameFilter {
|
||||
* @return Transliterator|NULL
|
||||
*/
|
||||
function getTransliterator() {
|
||||
if(!$this->transliterator === null && self::$default_use_transliterator) {
|
||||
if($this->transliterator === null && self::$default_use_transliterator) {
|
||||
$this->transliterator = Object::create('Transliterator');
|
||||
}
|
||||
return $this->transliterator;
|
||||
|
Loading…
Reference in New Issue
Block a user