This commit is contained in:
Letter N
2021-03-01 21:55:34 +08:00
parent 573f86e223
commit 09ce499146
2 changed files with 1 additions and 6 deletions

View File

@@ -47,11 +47,6 @@
else
dat += "<table>"
dat += "<tr><td>AUTHOR</td><td>TITLE</td><td>CATEGORY</td><td>SS<sup>13</sup>BN</td></tr>"
var/SQLsearch = "isnull(deleted) AND "
if(category == "Any")
SQLsearch += "author LIKE '%[author]%' AND title LIKE '%[title]%'"
else
SQLsearch += "author LIKE '%[author]%' AND title LIKE '%[title]%' AND category='[category]'"
var/bookcount = 0
var/booksperpage = 20
var/datum/db_query/query_library_count_books = SSdbcore.NewQuery({"

View File

@@ -65,7 +65,7 @@
popup.open(FALSE)
/mob/dead/new_player/proc/playerpolls()
var/list/output = list()
var/output = "" //hey tg why is this a list?
if (SSdbcore.Connect())
var/isadmin = FALSE
if(client?.holder)