summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-06-07 10:17:35 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-06-07 10:17:35 +0200
commit3b5c09aa536eb11ef6e24edfef8b8bebf1e8613c (patch)
tree5045756dc0348a92005b4acc3ca198a62579cf40 /admin
parentc0e670b9d9bd6fbac35a45fce14b7f8339896ddd (diff)
#903: Fix bug when returning duplicate check value.
Diffstat (limited to 'admin')
-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 1d83230d..e0123d6d 100644
--- a/admin/WebConsole/gestores/gestor_ordenadores.php
+++ b/admin/WebConsole/gestores/gestor_ordenadores.php
@@ -328,7 +328,7 @@ function checkDuplicates(&$cmd, &$duplicate_data, $computer_id, $computer_name,
$rs->Cerrar();
$duplicate_data = trim($duplicate_data, ',');
$ret = !empty($duplicate_data);
- return ret;
+ return($ret);
}
/*________________________________________________________________________________________________________