function Editar() { session_start(); $this->pessoa_logada = $_SESSION['id_pessoa']; session_write_close(); $obj = new clsPublicLogradouro($this->idlog, $this->idtlog, $this->nome, $this->idmun, NULL, 'S', $this->pessoa_logada, NULL, 'U', NULL, NULL, 'I', NULL, 9); $editou = $obj->edita(); if ($editou) { $this->mensagem .= 'Edição efetuada com sucesso.<br>'; header('Location: public_logradouro_lst.php'); die; } $this->mensagem = 'Edição não realizada.<br>'; echo "<!--\nErro ao editar clsPublicLogradouro\nvalores obrigatorios\nif( is_numeric( {$this->idlog} ) )\n-->"; return FALSE; }