Versión 1.0.4, #495: Sentencia correcta para actualizar datos de la caché.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3164 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/debian-pkg
parent
4ee02ceea7
commit
d568b1f516
|
@ -1,21 +0,0 @@
|
|||
<tr>
|
||||
<td>
|
||||
Aplicar acciones al disco:
|
||||
<input type="text" name="n_disk" value="1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Tabla de particiones:
|
||||
<select name="tipo_part_table" id="tipo_part_table" onchange="showPartitionForm(this.value)">
|
||||
<option value="MSDOS">MSDOS</option>
|
||||
<option value="GPT">GPT</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<div id="formMSDOS">
|
||||
<? include_once("includes/asistentes/formParticionado_msdos.php");?>
|
||||
</div>
|
||||
<div id="formGPT">
|
||||
<? include_once("includes/asistentes/formParticionado_gpt.php");?>
|
||||
</div>
|
|
@ -41,10 +41,10 @@ fclose($gestor);
|
|||
if (! empty ($contenidofichero)) {
|
||||
$cmd->texto="UPDATE ordenadores_particiones
|
||||
SET cache='".$contenidofichero."'
|
||||
WHERE idordenador='".$idordenador."' AND
|
||||
idsistemafichero=(SELECT idsistemafichero
|
||||
FROM sistemasficheros
|
||||
WHERE descripcion='CACHE')";
|
||||
WHERE idordenador=(SELECT idordenador FROM ordenadores
|
||||
WHERE ip='".$iph."') AND
|
||||
idsistemafichero=(SELECT idsistemafichero FROM sistemasficheros
|
||||
WHERE descripcion='CACHE')";
|
||||
$resul=$cmd->Ejecutar();
|
||||
}
|
||||
//agp
|
||||
|
|
Loading…
Reference in New Issue