Debug
This commit is contained in:
parent
266a4506bf
commit
e1b8141d78
2 changed files with 4 additions and 3 deletions
3
vendor/action/companies/companies_save.php
vendored
3
vendor/action/companies/companies_save.php
vendored
|
|
@ -70,6 +70,9 @@ try{
|
|||
} else {
|
||||
|
||||
|
||||
echo $CompaniesValidate->getCompanyId();
|
||||
exit;
|
||||
|
||||
/** Salva as alterações ou cadastra um novo usuário */
|
||||
if($Companies->Save($CompaniesValidate->getCompanyId(),
|
||||
$CompaniesValidate->getNameBusiness(),
|
||||
|
|
|
|||
4
vendor/model/Companies.class.php
vendored
4
vendor/model/Companies.class.php
vendored
|
|
@ -259,7 +259,7 @@ class Companies
|
|||
contract_date,
|
||||
computers,
|
||||
servers,
|
||||
userId
|
||||
user_id
|
||||
) values (:name_business,
|
||||
:name_fantasy,
|
||||
:cnpj,
|
||||
|
|
@ -309,8 +309,6 @@ class Companies
|
|||
|
||||
}
|
||||
|
||||
echo $this->sql;
|
||||
|
||||
/** Executo o SQL */
|
||||
return $this->stmt->execute();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue