mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-27 10:32:08 +00:00
Fix runtime errors while running without a connected database (#11473)
This commit is contained in:
@@ -78,8 +78,7 @@
|
||||
attributes += "&"
|
||||
attributes += list2params(list("ckey" = user.ckey, "token" = token))
|
||||
|
||||
establish_db_connection(dbcon)
|
||||
if (!dbcon.IsConnected())
|
||||
if (!establish_db_connection(dbcon))
|
||||
alert("An error occured while attempting to connect to the database!")
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user