浏览代码

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

Laurent Destailleur 1 年之前
父节点
当前提交
1297fd015a
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      htdocs/multicurrency/multicurrency_rate.php

+ 4 - 1
htdocs/multicurrency/multicurrency_rate.php

@@ -64,7 +64,6 @@ $limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit;
 $sortfield 			= GETPOST('sortfield', 'aZ09comma');
 $sortorder 			= GETPOST('sortorder', 'aZ09comma');
 $page = (GETPOST("page", 'int') ? GETPOST("page", 'int') : 0);
-
 if (empty($page) || $page == -1) {
 	$page = 0;
 }     // If $page is not defined, or '' or -1
@@ -77,6 +76,9 @@ if (!$sortfield) {
 if (!$sortorder) {
 	$sortorder = "DESC";
 }
+$type = '';
+$texte = '';
+$newcardbutton = '';
 
 // Initialize technical objects
 $object = new CurrencyRate($db);
@@ -544,6 +546,7 @@ if ($resql) {
 
 	$i = 0;
 	$totalarray = array();
+	$totalarray['nbfield']=0;
 	while ($i < min($num, $limit)) {
 		$obj = $db->fetch_object($resql);