Parcourir la source

incorrect reference to get the switch to restart

Matthew Vale il y a 9 ans
Parent
commit
cbc1689e96
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();
-				$detect_switch->restart_switch();
+				$switch->detect_switch->restart_switch();
 			}catch(Exception $e){
 				echo "</pre>\n";
 				echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";