Skip to content

Commit

Permalink
Merge pull request #86 from DariusIII/dev
Browse files Browse the repository at this point in the history
Changed query method.
  • Loading branch information
DariusIII committed Oct 2, 2013
2 parents c145ad1 + fe40f5f commit fe7bda0
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($newname), $status, $determinedcat, $release["releaseID"]));
$db->query(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 fe7bda0

Please sign in to comment.