Browse Source

corrected use of detect

Matthew Vale 9 years ago
parent
commit
6ba8ab3661
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/install/install_first_time.php

+ 1 - 1
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 "</pre>\n";
 				echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";