diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2019-01-29 13:40:40 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-01-29 14:55:34 +0100 |
commit | 0ad92e4af4c88adffb01c9e3ff25cf07ec7e1319 (patch) | |
tree | 6bb371921fcd40ff06e40b6d41bf81c9f3e57327 | |
parent | 2b00219981fbc33f1131390a6a051e7d9f2e8295 (diff) |
#892: Avoid infinite loop
-rw-r--r-- | admin/WebConsole/comandos/gestores/wakeonlan_repo.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/gestores/wakeonlan_repo.php b/admin/WebConsole/comandos/gestores/wakeonlan_repo.php index ee254d0d..68922c41 100644 --- a/admin/WebConsole/comandos/gestores/wakeonlan_repo.php +++ b/admin/WebConsole/comandos/gestores/wakeonlan_repo.php @@ -81,6 +81,7 @@ function existREPO($repo, $repos){ $index = 0; while(!$found && $index < count($repos)){ $r = $repos[$index]; + $index++; if($r == $repo) $found=true; } |