Debug
This commit is contained in:
parent
327ac199fd
commit
ca0fa760e5
1 changed files with 3 additions and 3 deletions
|
|
@ -325,7 +325,7 @@ class CompaniesValidate
|
||||||
$this->stateId = $stateId > 0 ? (int)$this->Main->antiInjection($stateId) : 0;
|
$this->stateId = $stateId > 0 ? (int)$this->Main->antiInjection($stateId) : 0;
|
||||||
|
|
||||||
/** Verifica se a informação foi informada */
|
/** Verifica se a informação foi informada */
|
||||||
if(empty($this->stateId))
|
if($this->stateId == 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Adição de elemento */
|
/** Adição de elemento */
|
||||||
|
|
@ -640,7 +640,7 @@ class CompaniesValidate
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Retorno da informação */
|
/** Retorno da informação */
|
||||||
return (int)$this->city;
|
return (int)$this->cityId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -649,7 +649,7 @@ class CompaniesValidate
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Retorno da informação */
|
/** Retorno da informação */
|
||||||
return (int)$this->state;
|
return (int)$this->stateId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue