This commit is contained in:
Kenio 2025-07-16 16:14:07 -03:00
parent 9b42a9695c
commit c6651fe4e7
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ try{
$contractDate = isset($_POST['contract_date']) ? (string)filter_input(INPUT_POST, 'contract_date', FILTER_SANITIZE_SPECIAL_CHARS) : '';
$computers = isset($_POST['computers']) ? (int)filter_input(INPUT_POST, 'computers', FILTER_SANITIZE_NUMBER_INT) : '';
$servers = isset($_POST['servers']) ? (int)filter_input(INPUT_POST, 'servers', FILTER_SANITIZE_NUMBER_INT) : '';
echo $userId = $_SESSION['USERSID'];
$userId = $_SESSION['USERSID'];
/** Validando os campos de entrada */
$CompaniesValidate->setType($type);

View file

@ -24,7 +24,7 @@ class CompaniesValidate
private $errors = array();
private $info = null;
private $CompaniesId = null;
private $usersId = null;
private $userId = null;
private $companyId = null;
private $clientName = null;
private $fantasyName = null;
@ -78,7 +78,7 @@ class CompaniesValidate
}
/** Método trata campo users_id */
public function setUserId(int $usersId) : void
public function setUserId(int $userId) : void
{
/** Trata a entrada da informação */