diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-11-20 14:48:05 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-11-20 14:48:05 +0100 |
commit | a82d41435cac589745f4967edeeb05c3e1ad093b (patch) | |
tree | 635312d8726a79f2514ccda7c41820f7575bbe0e /admin | |
parent | 101796b529ae25f8a8831f45e7523e193cba781b (diff) |
#915 #932: Fix lost variable in Wake-On-Lan function.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/WebConsole/comandos/gestores/gestor_Comandos.php | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |