Browse Source

Add country_load in address_common::__init

Mathieu Moulin 10 months ago
parent
commit
5d0cde3e0f
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/sync/address/common.inc.php

+ 7 - 0
src/sync/address/common.inc.php

@@ -13,6 +13,13 @@ const P_TABLE_MAIN = 'address';
 const P_TABLE_MAIN_ID = 'id_address';
 protected static $nb;
 
+public static function __init()
+{
+	parent::__init();
+
+	static::_country_load();
+}
+
 function d_data($otype, $oid)
 {
 	$data = [];