From ef0ab8bb0039173f3c5b9b5883c0f72d94c63df7 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 22 Nov 2014 00:15:32 -0800 Subject: [PATCH] Isnt set if first write --- inc/8chan-mod-pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/8chan-mod-pages.php b/inc/8chan-mod-pages.php index 6b7f97b8..6a325742 100644 --- a/inc/8chan-mod-pages.php +++ b/inc/8chan-mod-pages.php @@ -421,7 +421,7 @@ EOT; || $_config['captcha']['extra'] != $config['captcha']['extra'] || $_config['blotter'] != $config['blotter'] || $_config['field_disable_name'] != $config['field_disable_name'] - || $_config['show_sages'] != $config['show_sages']) { + || $_config['show_sages'] != (isset($config['show_sages']) && $config['show_sages'])) { buildIndex(); $query = query(sprintf("SELECT `id` FROM ``posts_%s`` WHERE `thread` IS NULL", $b)) or error(db_error()); while ($post = $query->fetch(PDO::FETCH_ASSOC)) {