summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-03-18 13:22:01 +0000
committerramon <ramongomez@us.es>2011-03-18 13:22:01 +0000
commit8dfba44569c047633484f1645b4fb60490a701af (patch)
tree9f55eff63865544ec9119fd50daf081855eb202b
parent77488ef1d61c58feda26a87c12d81f4bc2658225 (diff)
Corrección en sentencia para eliminar un perfil de software (ramas 0.10 y 1.0), close #258.
git-svn-id: https://opengnsys.es/svn/trunk@1564 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r--admin/WebConsole/gestores/relaciones/perfilessoft_eliminacion.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/gestores/relaciones/perfilessoft_eliminacion.php b/admin/WebConsole/gestores/relaciones/perfilessoft_eliminacion.php
index 4cb87efe..6ec57f1b 100644
--- a/admin/WebConsole/gestores/relaciones/perfilessoft_eliminacion.php
+++ b/admin/WebConsole/gestores/relaciones/perfilessoft_eliminacion.php
@@ -27,7 +27,7 @@ function EliminaPerfilessoft($cmd,$identificador,$nombreid,$swid=1){
$cmd->texto="UPDATE imagenes SET idperfilsoft=0 WHERE idperfilsoft=".$rs->campos["idperfilsoft"];
$resul=$cmd->Ejecutar();
if ($resul){
- $cmd->texto="DELETE FROM perfileshard_perfilessoft WHERE idperfilsoft=".$rs->campos["idperfilsoft"];
+ $cmd->texto="DELETE FROM perfilessoft_softwares WHERE idperfilsoft=".$rs->campos["idperfilsoft"];
$resul=$cmd->Ejecutar();
}
if (!$resul){