Skip to content

Commit

Permalink
Reverted to an old behaviour, hopefuly this will fix missing relnames…
Browse files Browse the repository at this point in the history
…tatus updates in db.
  • Loading branch information
DariusIII committed Oct 1, 2013
1 parent 34927b5 commit 8e746d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/namefixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function updateRelease($release, $name, $method, $echo, $type, $namestatu
$status = 7;
else if ($type == "Filenames, ")
$status = 9;
$db->queryDirect(sprintf("UPDATE releases set searchname = %s, relnamestatus = %d, categoryID = %d where ID = %d", $db->escapeString(substr($newname, 0, 255)), $status, $determinedcat, $release["releaseID"]));
$db->queryDirect(sprintf("UPDATE releases set searchname = %s, relnamestatus = %d, categoryID = %d where ID = %d", $db->escapeString($newname), $status, $determinedcat, $release["releaseID"]));
}
else
$db->query(sprintf("UPDATE releases set searchname = %s, categoryID = %d where ID = %d", $db->escapeString($newname), $determinedcat, $release["releaseID"]));
Expand Down

0 comments on commit 8e746d2

Please sign in to comment.