mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 16:44:43 +01:00
Fix a source of undeleted query spamming admin chat when gathering admin feedback threads from the database. (#67261)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -181,10 +181,14 @@ GLOBAL_PROTECT(href_token)
|
||||
|
||||
if(!feedback_query.Execute())
|
||||
log_sql("Error retrieving feedback link for [src]")
|
||||
qdel(feedback_query)
|
||||
return cached_forum_link
|
||||
if(!feedback_query.NextRow())
|
||||
qdel(feedback_query)
|
||||
return FALSE // no feedback link exists
|
||||
|
||||
qdel(feedback_query)
|
||||
|
||||
cached_forum_link = feedback_query.item[1]
|
||||
return cached_forum_link
|
||||
|
||||
|
||||
Reference in New Issue
Block a user