Commit 966b373f1709b17823db91133483197a550703ae
1 parent
b0c1134f
Exists in
master
Corrigido para não alterar o tipo de menu ao editar um funcionario;
Portabilis/ieducar#144
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ieducar/intranet/funcionario_cad.php
... | ... | @@ -503,7 +503,7 @@ class indice extends clsCadastro |
503 | 503 | $this->_senha = md5($this->_senha); |
504 | 504 | } |
505 | 505 | |
506 | - $obj_funcionario = new clsPortalFuncionario($this->ref_pessoa, $this->matricula, $this->_senha, $this->ativo, null, $this->ramal, null, null, null, null, null, null, null, null, $this->ref_cod_funcionario_vinculo, $this->tempo_expira_senha, $this->tempo_expira_conta, "NOW()", "NOW()", $this->pessoa_logada, empty($this->proibido) ? 0 : 1, $this->ref_cod_setor_new, null, empty($this->matricula_permanente) ? 0 : 1, 1, $this->email); | |
506 | + $obj_funcionario = new clsPortalFuncionario($this->ref_pessoa, $this->matricula, $this->_senha, $this->ativo, null, $this->ramal, null, null, null, null, null, null, null, null, $this->ref_cod_funcionario_vinculo, $this->tempo_expira_senha, $this->tempo_expira_conta, "NOW()", "NOW()", $this->pessoa_logada, empty($this->proibido) ? 0 : 1, $this->ref_cod_setor_new, null, empty($this->matricula_permanente) ? 0 : 1, null, $this->email); | |
507 | 507 | if( $obj_funcionario->edita() ) |
508 | 508 | { |
509 | 509 | $obj_menu_funcionario = new clsPortalMenuFuncionario($this->ref_pessoa); | ... | ... |