From 76291592dde04b8bd8768f2cea7017faee129dbf Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 7 Jun 2018 14:25:38 +0200 Subject: [PATCH] Fix another unintentinal error --- Blacklight/NameFixer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index 1d47a34af..2d0de7552 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -1255,7 +1255,7 @@ class NameFixer if (\strlen($this->_fileName) > 0 && strpos($this->_fileName, '.') !== 0) { switch (true) { - case strpos($this->_fileName, '.') ``: + case strpos($this->_fileName, '.') !== false: //some filenames start with a period that ends up creating bad matches so we don't process them $this->_fileName = Utility::cutStringUsingLast('.', $this->_fileName, 'left', false); continue;