Do same for filename matching as for srr matching

This commit is contained in:
DariusIII
2016-01-02 13:34:19 +01:00
parent 5e475f12f5
commit 1611efddcb
+4 -2
View File
@@ -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 '.';
}
}
}