Skip to content
Snippets Groups Projects
Commit 68e5229e authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: missing langs object

parent 0faa5d91
No related branches found
No related tags found
No related merge requests found
......@@ -2885,7 +2885,9 @@ class Form
* @return int Nb of loaded lines, 0 if already loaded, <0 if KO
*/
function load_cache_vatrates($country_code)
{
{
global $langs;
if (count($this->cache_vatrates)) return 0; // Cache deja charge
$sql = "SELECT DISTINCT t.taux, t.recuperableonly";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment