From 392acf19bffd86a592782de93d87b06124ef2756 Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 22 May 2015 11:09:46 -0700 Subject: [PATCH] Fixes #615 - Broken forum upgrade when tables are empty. --- e107_plugins/forum/forum_update.php | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/e107_plugins/forum/forum_update.php b/e107_plugins/forum/forum_update.php index fc6174d8c..1cac13960 100644 --- a/e107_plugins/forum/forum_update.php +++ b/e107_plugins/forum/forum_update.php @@ -480,7 +480,11 @@ function step5() } } - + } + else + { + $counts = array('parents'=>'n/a', 'forums'=>'n/a', 'subs'=>'n/a'); + } $mes -> addSuccess(" Forum data move results: