]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/sql_auth/sql_auth.php
Add sql::table_prefix to first setup screen
[irc/unrealircd/unrealircd-webpanel.git] / plugins / sql_auth / sql_auth.php
index cf8d71c06ec22d06389b17e9e71eb3ea60fe80d2..58bc12ea0e55a5b449f51bc278ed8914e70e9a8f 100644 (file)
@@ -140,7 +140,7 @@ class sql_auth
                $error_messages = "";
                foreach($tables as $table)
                {
-                       $prefix = get_config("sql::prefix");
+                       $prefix = get_config("sql::table_prefix");
                        $sql = "SHOW TABLES LIKE '$prefix%'"; // SQL query to check if table exists
 
                        $result = $conn->query($sql);