We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use:
$object = new Don($db); $object->fetch($id); echo $object->country_id
country_id is still empty
In the source "dolibarr/don/class/don.class.php" lines 648 there are: $this->country_id = $obj->country_id; but country_id not in the $sql query
$this->country_id = $obj->country_id;
the line 648 must be : $this->country_id = $obj->fk_country; OR add country_id in $sql like that: $sql.= " d.fk_country as country_id,....
$this->country_id = $obj->fk_country;
$sql.= " d.fk_country as country_id,....
The text was updated successfully, but these errors were encountered:
Merge pull request #5492 from simnandez/3.8
60384f6
FIX #5474 Country_id of "Don" object is still empty
1232e25
No branches or pull requests
Bug
When I use:
country_id is still empty
Environment
problem cause
In the source "dolibarr/don/class/don.class.php" lines 648 there are:
$this->country_id = $obj->country_id;
but country_id not in the $sql query
Suggested implementation
the line 648 must be :
$this->country_id = $obj->fk_country;
OR
add country_id in $sql like that:
$sql.= " d.fk_country as country_id,....
The text was updated successfully, but these errors were encountered: