summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/clases
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-11-13 13:27:11 +0000
committerramon <ramongomez@us.es>2012-11-13 13:27:11 +0000
commit631f14e4a9a97f8fceb541523fa7b940aa30e902 (patch)
tree02178469c809fabf3b325cafacd477467ce13f34 /admin/WebConsole/clases
parent0a73ecf71508c5af8b6409b6121f4f402b695b38 (diff)
Versión 1.0.5, #567: Completar código para corregir ejecución duplicada de asistentes.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3408 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/clases')
-rw-r--r--admin/WebConsole/clases/AdoPhp.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/WebConsole/clases/AdoPhp.php b/admin/WebConsole/clases/AdoPhp.php
index 919fba7f..b48032d1 100644
--- a/admin/WebConsole/clases/AdoPhp.php
+++ b/admin/WebConsole/clases/AdoPhp.php
@@ -422,7 +422,10 @@ class Comando{
$this->ultimoerror=4;
return(false);
}
- if (stristr($this->texto,"select")){
+
+ $sqlstr=trim($this->texto);
+
+ if (strtoupper(substr($sqlstr,0,6))=="SELECT"){
$this->Recordset->Inicializar();
$this->Recordset->filas=$this->resul;
$this->Recordset->numerodecampos=mysql_num_fields($this->Recordset->filas);