Skip to content

Commit

Permalink
FIX #5474 Country_id of "Don" object is still empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanjo Menent committed Jul 16, 2016
1 parent 02439be commit 1232e25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/don/class/don.class.php
Expand Up @@ -4,6 +4,7 @@
* Copyright (C) 2009 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2015 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -645,7 +646,7 @@ function fetch($id, $ref='')
$this->town = $obj->town;
$this->zip = $obj->zip;
$this->town = $obj->town;
$this->country_id = $obj->country_id;
$this->country_id = $obj->fk_country;
$this->country_code = $obj->country_code;
$this->country = $obj->country;
$this->country_olddata= $obj->country_olddata; // deprecated
Expand Down

0 comments on commit 1232e25

Please sign in to comment.