Permalink
Browse files

BUGFIX Fixed double negation of transliterator checks in FileNameFilt…

…er, which meant it wasn't used by default when filtering SiteTree->URLSegment
  • Loading branch information...
1 parent d30b4b1 commit d1ebe1ce9aa46773e5a9182308f97dbac7b64e8f @chillu chillu committed Nov 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 filesystem/FileNameFilter.php
@@ -97,7 +97,7 @@ function getReplacements() {
* @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;

0 comments on commit d1ebe1c

Please sign in to comment.