Commit 868d80829a1642a7cf57ea26144397a8e0dbdfb6

Authored by Eriksen Costa
1 parent 34268c72
Exists in master

Corrigido erro introduzido em r740.

ieducar/intranet/include/pessoa/clsEnderecoPessoa.inc.php
... ... @@ -204,8 +204,8 @@ class clsPessoaEndereco
204 204 if ($this->idpes) {
205 205 $db = new clsBanco();
206 206 $db->Consulta(sprintf(
207   - 'DELETE FROM $this->schema_cadastro.$this->tabela WHERE idpes = %d',
208   - $this->idpes
  207 + 'DELETE FROM %s.%s WHERE idpes = %d',
  208 + $this->schema_cadastro, $this->tabela, $this->idpes
209 209 ));
210 210 }
211 211 }
... ...