diff options
author | ramon <ramongomez@us.es> | 2013-03-21 12:36:06 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-03-21 12:36:06 +0000 |
commit | ec8b7435ebcf85bf5a43132343d2efdacd3834bd (patch) | |
tree | 61526ab5bd094dfa6c924c8ba2e513ef837750c5 | |
parent | 3037c80efcfdaf7703bd3f0a04314a557da6e645 (diff) |
#551: Evitar algunos avisos PHP en la página del buscador de clientes.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3709 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r-- | admin/WebConsole/includes/ctrlacc.php | 2 | ||||
-rw-r--r-- | admin/WebConsole/varios/buscar.php | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/admin/WebConsole/includes/ctrlacc.php b/admin/WebConsole/includes/ctrlacc.php index cf3c830c..9e09b9b7 100644 --- a/admin/WebConsole/includes/ctrlacc.php +++ b/admin/WebConsole/includes/ctrlacc.php @@ -1,4 +1,4 @@ -<? +<?php // ************************************************************************************************************************************************* // Aplicación WEB: ogAdmWebCon // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla diff --git a/admin/WebConsole/varios/buscar.php b/admin/WebConsole/varios/buscar.php index 46278e41..a0d90934 100644 --- a/admin/WebConsole/varios/buscar.php +++ b/admin/WebConsole/varios/buscar.php @@ -1,4 +1,4 @@ -<? +<?php // ********************************************************************* // Aplicación WEB: ogAdmWebCon // Autor: Ramón M. Gómez, ETSII - Universidad de Sevilla @@ -15,8 +15,12 @@ include_once("../includes/CreaComando.php"); include_once("../includes/TomaDato.php"); include_once("../idiomas/php/".$idioma."/buscar_".$idioma.".php"); -session_start(); // Activa variables de sesión. +# Inicializar variables. +$criterio=""; +$valor=""; + +# Tomar varlores de sesión. if (isset($_POST["criterio"])) $criterio=htmlspecialchars($_POST["criterio"]); if (isset($_POST["valor"])) $valor=htmlspecialchars($_POST["valor"]); if (!empty ($valor) || $criterio == "duplic") { |