Permalink
Browse files

Merge branch '3.2' of ssh://git@github.com/Dolibarr/dolibarr.git into…

… 3.2
  • Loading branch information...
2 parents 53a7883 + eb6008b commit 0e4ca576ec9548509e27de3c39c691bf53ba24f8 @eldy eldy committed Apr 11, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 htdocs/core/class/html.form.class.php
@@ -2885,7 +2885,9 @@ function select_tva($htmlname='tauxtva', $selectedrate='', $societe_vendeuse='',
* @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 comments on commit 0e4ca57

Please sign in to comment.