Fix: missing langs object

This commit is contained in:
Regis Houssin 2012-04-11 16:26:45 +02:00
parent 0faa5d9196
commit 68e5229e9b

View File

@ -2886,6 +2886,8 @@ class Form
*/ */
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";