Change integer to boolean in name fixing scripts

This commit is contained in:
DariusIII
2016-01-04 14:34:43 +01:00
parent 688f86bb33
commit bcf240d94e
3 changed files with 5 additions and 3 deletions
@@ -58,10 +58,10 @@ if (!isset($argv[1])) {
}
break;
case $pieces[0] === 'filename' && isset($guidChar) && isset($maxperrun) && is_numeric($maxperrun):
$namefixer->fixNamesWithFiles(1, 1, 1, 1, 1, $guidChar, $maxperrun);
$namefixer->fixNamesWithFiles(1, true, 1, 1, 1, $guidChar, $maxperrun);
break;
case $pieces[0] === 'srr' && isset($guidChar) && isset($maxperrun) && is_numeric($maxperrun):
$namefixer->fixNamesWithSrr(1, 1, 1, 1, 1, $guidChar, $maxperrun);
$namefixer->fixNamesWithSrr(1, true, 1, 1, 1, $guidChar, $maxperrun);
break;
case $pieces[0] === 'md5' && isset($guidChar) && isset($maxperrun) && is_numeric($maxperrun):
$releases = $pdo->queryDirect(