Browse code

update.php: add long forgotten database table field requirement check

Clarissa Walker authored on 2026/09/06 21:08:20
Showing 1 changed files
... ...
@@ -422,7 +422,7 @@ function do_version_check_359()
422 422
 {
423 423
 	$check_359 = false;
424 424
 
425
-	$required = array('smtp_port', 'smtp_secure');
425
+	$required = array('setreg', 'smtp_port', 'smtp_secure');
426 426
 	foreach ($required as $f)
427 427
 	{
428 428
 		if (!dbassoc(dbquery("SHOW COLUMNS FROM " . TABLEPREFIX . "fanfiction_settings LIKE '{$f}'")))