From fb02782a3d9adeb71ef57648baf55cd96e567ded Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 3 May 2017 11:39:30 -0700 Subject: [PATCH] Forum upgrade fix. --- e107_plugins/forum/forum_setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/forum_setup.php b/e107_plugins/forum/forum_setup.php index 79f93d52d..9fff88347 100644 --- a/e107_plugins/forum/forum_setup.php +++ b/e107_plugins/forum/forum_setup.php @@ -80,7 +80,7 @@ class forum_setup $sql = e107::getDb(); - if(!$sql->isTable('forum_t')) // no table, so run a default plugin install procedure. + if(!$sql->isTable('forum_t') || !$sql->isEmpty('forum_thread')) // no table, so run a default plugin install procedure. { return false; // e107::getSingleton('e107plugin')->refresh('forum');