diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php
index 8eeff2613f0..451ee0d700d 100644
--- a/htdocs/core/class/html.formactions.class.php
+++ b/htdocs/core/class/html.formactions.class.php
@@ -197,7 +197,7 @@ class FormActions
$newcardbutton='';
if (! empty($conf->agenda->enabled))
{
- $newcardbutton = ''.$langs->trans("AddEvent").'';
+ $newcardbutton = ''.$langs->trans("AddEvent").'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/loan/index.php b/htdocs/loan/index.php
index 03e3ab482f4..a032139c8fa 100644
--- a/htdocs/loan/index.php
+++ b/htdocs/loan/index.php
@@ -81,7 +81,7 @@ if ($filtre) {
$filtre=str_replace(":","=",$filtre);
$sql .= " AND ".$filtre;
}
-$sql.= " GROUP BY l.rowid, l.label, l.capital, l.datestart, l.dateend";
+$sql.= " GROUP BY l.rowid, l.label, l.capital, l.paid, l.datestart, l.dateend";
$sql.= $db->order($sortfield,$sortorder);
$nbtotalofrecords = '';
diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php
index 959f2377d9d..ef906c38704 100644
--- a/htdocs/product/reassort.php
+++ b/htdocs/product/reassort.php
@@ -248,6 +248,8 @@ if ($resql)
if ($fourn_id) $param.="&fourn_id=".$fourn_id;
if ($snom) $param.="&snom=".$snom;
if ($sref) $param.="&sref=".$sref;
+ if ($toolowstock) $param.="&toolowstock=".$toolowstock;
+ if ($search_categ) $param.="&search_categ=".$search_categ;
$formProduct = new FormProduct($db);
$formProduct->loadWarehouses();