diff --git a/htdocs/core/class/ccountry.class.php b/htdocs/core/class/ccountry.class.php index 22a1d2d84d2..5d75eea9fd1 100644 --- a/htdocs/core/class/ccountry.class.php +++ b/htdocs/core/class/ccountry.class.php @@ -1,6 +1,7 @@ - * Copyright (C) 2024 MDW + * Copyright (C) 2024 MDW + * Copyright (C) 2025 Charlene Benke * * 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 @@ -45,6 +46,12 @@ class Ccountry extends CommonDict */ public $code_iso; + /** + * @var string + */ + public $ecc; + + /** * @var array|string,position:int,notnull?:int,visible:int<-5,5>|string,alwayseditable?:int<0,1>,noteditable?:int<0,1>,default?:string,index?:int,foreignkey?:string,searchall?:int<0,1>,isameasure?:int<0,1>,css?:string,csslist?:string,help?:string,showoncombobox?:int<0,4>,disabled?:int<0,1>,arrayofkeyval?:array,autofocusoncreate?:int<0,1>,comment?:string,copytoclipboard?:int<1,2>,validate?:int<0,1>,showonheader?:int<0,1>}> */ @@ -164,6 +171,7 @@ class Ccountry extends CommonDict $sql .= " t.rowid,"; $sql .= " t.code,"; $sql .= " t.code_iso,"; + $sql .= " t.ecc,"; $sql .= " t.label,"; $sql .= " t.eec,"; $sql .= " t.active,"; @@ -190,6 +198,7 @@ class Ccountry extends CommonDict $this->code = $obj->code; $this->code_iso = $obj->code_iso; $this->label = $obj->label; + $this->ecc = $obj->ecc; $this->active = $obj->active; $this->favorite = $obj->favorite; $this->eec = $obj->eec;