Fix: missing langs object
This commit is contained in:
parent
a748466758
commit
eb6008bb4d
@ -2885,7 +2885,9 @@ class Form
|
|||||||
* @return int Nb of loaded lines, 0 if already loaded, <0 if KO
|
* @return int Nb of loaded lines, 0 if already loaded, <0 if KO
|
||||||
*/
|
*/
|
||||||
function load_cache_vatrates($country_code)
|
function load_cache_vatrates($country_code)
|
||||||
{
|
{
|
||||||
|
global $langs;
|
||||||
|
|
||||||
if (count($this->cache_vatrates)) return 0; // Cache deja charge
|
if (count($this->cache_vatrates)) return 0; // Cache deja charge
|
||||||
|
|
||||||
$sql = "SELECT DISTINCT t.taux, t.recuperableonly";
|
$sql = "SELECT DISTINCT t.taux, t.recuperableonly";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user