Library Fix

It was referencing an incorrect table.
This commit is contained in:
skull132
2016-02-21 22:13:19 +02:00
parent 77dea70ebf
commit 6e2b966a8b

View File

@@ -94,7 +94,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
author = null
author = sanitizeSQL(author)
if(href_list["search"])
SQLquery = "SELECT author, title, category, id FROM library WHERE "
SQLquery = "SELECT author, title, category, id FROM ss13_library WHERE "
if(category == "Any")
SQLquery += "author LIKE '%[author]%' AND title LIKE '%[title]%'"
else