summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2015-01-09 11:11:01 +0000
committerramon <ramongomez@us.es>2015-01-09 11:11:01 +0000
commit71cc14f7bb184d54bd2cad79b00056a73277afff (patch)
tree12d78e47a98383dc44bf92f3fb2462f605797b32 /admin/WebConsole/gestores
parent5715a1473a65c231efaf16c698d7cf81776ae132 (diff)
#643: Se soporta introducir caracteres ":" en la dirección MAC.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4467 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_ordenadores.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/gestores/gestor_ordenadores.php b/admin/WebConsole/gestores/gestor_ordenadores.php
index 58ccb0fd..d89e7fe1 100644
--- a/admin/WebConsole/gestores/gestor_ordenadores.php
+++ b/admin/WebConsole/gestores/gestor_ordenadores.php
@@ -60,7 +60,7 @@ if (isset($_POST["idordenador"])) $idordenador=$_POST["idordenador"];
if (isset($_POST["identificador"])) $idordenador=$_POST["identificador"];
if (isset($_POST["nombreordenador"])) $nombreordenador=$_POST["nombreordenador"];
if (isset($_POST["ip"])) $ip=$_POST["ip"];
-if (isset($_POST["mac"])) $mac=$_POST["mac"];
+if (isset($_POST["mac"])) $mac=str_replace(":","",$_POST["mac"]);
if (isset($_POST["idperfilhard"])) $idperfilhard=$_POST["idperfilhard"];
if (isset($_POST["idrepositorio"])) $idrepositorio=$_POST["idrepositorio"];
if (isset($_POST["idmenu"])) $idmenu=$_POST["idmenu"];