Browse code

replaced tableprefix variable with global

Jimako authored on 2024/04/26 01:09:13
Showing 1 changed files
... ...
@@ -42,7 +42,7 @@ else if($confirm == "no") {
42 42
 else {
43 43
 
44 44
 	$blockquery = dbquery("SELECT * FROM " . TABLEPREFIX . "fanfiction_modules WHERE name = 'notifications'");
45
-	$notquery = dbquery("SHOW COLUMNS FROM " . $settingsprefix . "fanfiction_settings LIKE 'notifications'");
45
+	$notquery = dbquery("SHOW COLUMNS FROM " .TABLEPREFIX  . "fanfiction_settings LIKE 'notifications'");
46 46
  
47 47
 	$modquery = dbquery("SELECT * FROM ".TABLEPREFIX. "fanfiction_codeblocks WHERE code_module = 'notifications'");
48 48
 	if(dbnumrows($modquery) OR dbnumrows($notquery) or dbnumrows($blockquery) ) {