From 8eeee0fea1c6cc30a705331ea88c535d390e1c70 Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Thu, 26 Nov 2015 18:35:11 +0000 Subject: [PATCH] incorrect reference to get the switch to restart --- core/install/install_first_time.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/install/install_first_time.php b/core/install/install_first_time.php index 99f0ab043a..5d4392e586 100644 --- a/core/install/install_first_time.php +++ b/core/install/install_first_time.php @@ -311,7 +311,7 @@ if(!$install_step) { $install_step = 'select_language'; } $fusionPBX->install(); $switch->install(); $fusionPBX->app_defaults(); - $detect_switch->restart_switch(); + $switch->detect_switch->restart_switch(); }catch(Exception $e){ echo "\n"; echo "

Failed to install
" . $e->getMessage() . "

\n";