From a82d41435cac589745f4967edeeb05c3e1ad093b Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Wed, 20 Nov 2019 14:48:05 +0100 Subject: #915 #932: Fix lost variable in Wake-On-Lan function. --- admin/WebConsole/comandos/gestores/gestor_Comandos.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin') diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php index 48fc8f03..94b48878 100644 --- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php +++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php @@ -36,6 +36,7 @@ define('OG_CMD_ID_RESTORE_INCREMENTAL_IMAGE', 15); define('OG_CMD_ID_SENDMESSAGE', 16); function run_command($idcomando, $cadenaip, $cadenamac, $atributos) { + global $cmd; switch ($idcomando) { case OG_CMD_ID_WAKEUP: include("wakeonlan_repo.php"); -- cgit v1.2.3-18-g5258