Fixing style errors.
This commit is contained in:
parent
e98ae029e3
commit
75a9678086
@ -169,7 +169,7 @@ class Setup extends DolibarrApi
|
|||||||
|
|
||||||
return $list;
|
return $list;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the list of states.
|
* Get the list of states.
|
||||||
*
|
*
|
||||||
@ -240,7 +240,7 @@ class Setup extends DolibarrApi
|
|||||||
|
|
||||||
return $list;
|
return $list;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get state by ID.
|
* Get state by ID.
|
||||||
*
|
*
|
||||||
@ -397,7 +397,7 @@ class Setup extends DolibarrApi
|
|||||||
{
|
{
|
||||||
return $this->_fetchCcountry('', '', $iso, $lang);
|
return $this->_fetchCcountry('', '', $iso, $lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get state.
|
* Get state.
|
||||||
*
|
*
|
||||||
|
|||||||
@ -168,9 +168,9 @@ class Cstate // extends CommonObject
|
|||||||
|
|
||||||
$this->id = $obj->rowid;
|
$this->id = $obj->rowid;
|
||||||
$this->code_departement = $obj->code_departement; //deprecated
|
$this->code_departement = $obj->code_departement; //deprecated
|
||||||
$this->code = $obj->code_departement;
|
$this->code = $obj->code_departement;
|
||||||
$this->nom = $obj->nom; //deprecated
|
$this->nom = $obj->nom; //deprecated
|
||||||
$this->name = $obj->nom;
|
$this->name = $obj->nom;
|
||||||
$this->active = $obj->active;
|
$this->active = $obj->active;
|
||||||
}
|
}
|
||||||
$this->db->free($resql);
|
$this->db->free($resql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user