From 1611efddcbfeb573d2823cee8243f90bac978e2d Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sat, 2 Jan 2016 13:34:19 +0100 Subject: [PATCH] Do same for filename matching as for srr matching --- newznab/NameFixer.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/newznab/NameFixer.php b/newznab/NameFixer.php index 7ef220a6a..c89af0d00 100755 --- a/newznab/NameFixer.php +++ b/newznab/NameFixer.php @@ -257,7 +257,7 @@ class NameFixer { $this->_echoStartMessage($time, 'file names'); $type = 'Filenames, '; - $guid = ($guidChar === '') ? '' : ('AND rel.guid '. $this->pdo->likeString($guidChar, true, false)); + $guid = ($guidChar === '') ? '' : ('AND rel.guid '. $this->pdo->likeString($guidChar, false, true)); $queryLimit = ($limit === '') ? '' : $limit; $preId = false; @@ -305,8 +305,10 @@ class NameFixer } $this->_echoFoundCount($echo, ' files'); - } else { + } elseif ($guid === '') { echo $this->pdo->log->info('Nothing to fix.'); + } else { + echo '.'; } } }