Atualizando users_form.php
This commit is contained in:
parent
1da8e9ecc0
commit
5a0f5b5e72
1 changed files with 2 additions and 2 deletions
4
vendor/view/users/users_form.php
vendored
4
vendor/view/users/users_form.php
vendored
|
|
@ -16,7 +16,7 @@ if($Main->verifyToken()){
|
|||
$CompaniesValidate = new CompaniesValidate;
|
||||
|
||||
/** Parametros de entrada */
|
||||
$usersId = isset($_POST['users_id']) ? (int)filter_input(INPUT_POST, 'users_id', FILTER_SANITIZE_SPECIAL_CHARS) : 0;
|
||||
$usersId = isset($_POST['user_id']) ? (int)filter_input(INPUT_POST, 'user_id', FILTER_SANITIZE_SPECIAL_CHARS) : 0;
|
||||
$companyId = isset($_POST['company_id']) ? (int)filter_input(INPUT_POST, 'company_id', FILTER_SANITIZE_NUMBER_INT) : 0;
|
||||
|
||||
/** Validando os campos de entrada */
|
||||
|
|
@ -49,7 +49,7 @@ if($Main->verifyToken()){
|
|||
|
||||
<h5>
|
||||
|
||||
<?php echo $UsersResult->users_id > 0 ? 'Editar cadastro' : 'Cadastrar novo usuário';?>
|
||||
<?php echo $UsersResult->user_id > 0 ? 'Editar cadastro' : 'Cadastrar novo usuário';?>
|
||||
|
||||
</h5>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue