Debug
This commit is contained in:
parent
9b42a9695c
commit
c6651fe4e7
2 changed files with 3 additions and 3 deletions
2
vendor/action/companies/companies_save.php
vendored
2
vendor/action/companies/companies_save.php
vendored
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue