X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/71864b3585eb6e98f858701544c969ff2979aa9a..46e7344057aaab2b08a90cbcba5bd1ab109a2e09:/lib/MECON/HTML/Arbol/ArbolDB.php diff --git a/lib/MECON/HTML/Arbol/ArbolDB.php b/lib/MECON/HTML/Arbol/ArbolDB.php index 3a5f9b9..d83d506 100644 --- a/lib/MECON/HTML/Arbol/ArbolDB.php +++ b/lib/MECON/HTML/Arbol/ArbolDB.php @@ -30,7 +30,7 @@ class HTML_ArbolDB extends HTML_Arbol function BuscarHijos($id) { $sql = "SELECT $this->nombre, $this->id - FROM $this->tabla"; + FROM $this->tabla "; if(!is_null$this->padre) $sql .= "WHERE $this->padre = '$id'"; $result = $this->db->query($sql);