mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix default argument for code_region
This commit is contained in:
parent
8a889f9ae5
commit
a55a657704
|
|
@ -154,7 +154,7 @@ class Cregion extends CommonDict
|
|||
* @param int $fk_pays Country Id
|
||||
* @return int >0 if OK, 0 if not found, <0 if KO
|
||||
*/
|
||||
public function fetch($id, $code_region = '', $fk_pays = 0)
|
||||
public function fetch($id, $code_region = 0, $fk_pays = 0)
|
||||
{
|
||||
$sql = "SELECT";
|
||||
$sql .= " t.rowid,";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user