Browse Source

Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0

Laurent Destailleur 2 years ago
parent
commit
6e17c0c961
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/lib/functions.lib.php

+ 1 - 1
htdocs/core/lib/functions.lib.php

@@ -5696,7 +5696,7 @@ function get_localtax_by_third($local)
 	$sql .= "  WHERE c.code = '".$db->escape($mysoc->country_code)."' AND tt.active = 1";
 	$sql .= "  ) ";
 	$sql .= " AND t.localtax".$local."_type > 0";
-	$sql .= " ORDER BY rowid DESC";
+	$sql .= " ORDER BY t.rowid DESC";
 
 	$resql = $db->query($sql);
 	if ($resql) {