Commit 868d80829a1642a7cf57ea26144397a8e0dbdfb6
1 parent
34268c72
Exists in
master
Corrigido erro introduzido em r740.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
ieducar/intranet/include/pessoa/clsEnderecoPessoa.inc.php
@@ -204,8 +204,8 @@ class clsPessoaEndereco | @@ -204,8 +204,8 @@ class clsPessoaEndereco | ||
204 | if ($this->idpes) { | 204 | if ($this->idpes) { |
205 | $db = new clsBanco(); | 205 | $db = new clsBanco(); |
206 | $db->Consulta(sprintf( | 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 | } |