From f1c6963e9e4dcad4e38f1151da307f2bae840c0f Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Thu, 26 Nov 2015 18:45:11 +0000 Subject: [PATCH] corrected use of detect --- 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 5d4392e586..2a4c5ce344 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(); - $switch->detect_switch->restart_switch(); + $switch_detect->restart_switch(); }catch(Exception $e){ echo "\n"; echo "

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

\n";