diff --git a/e107_plugins/forum/forum_update.php b/e107_plugins/forum/forum_update.php
index d2783f75c..e8fbb856d 100644
--- a/e107_plugins/forum/forum_update.php
+++ b/e107_plugins/forum/forum_update.php
@@ -560,6 +560,7 @@ function step6()
function step7()
{
$e107 = e107::getInstance();
+ $ns = e107::getRender();
$stepCaption = 'Step 7: Calculate user post counts';
if(!isset($_POST['calculate_usercounts']))
{
@@ -570,7 +571,7 @@ function step7()
";
- $e107->ns->tablerender($stepCaption, $text);
+ $ns->tablerender($stepCaption, $text);
return;
}
@@ -595,7 +596,7 @@ function step7()
";
- $e107->ns->tablerender($stepCaption, $text);
+ $ns->tablerender($stepCaption, $text);
}
function step8()