From c3b7bbfb3b05b9b7df4792b48910fbe7485046ae Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Sun, 15 Nov 2015 20:00:11 +0100 Subject: [PATCH] FIX : #3990 --- htdocs/core/class/html.formmail.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 08474776512..a815875dc52 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -871,6 +871,7 @@ class FormMail extends Form $resql = $this->db->query($sql); if ($resql) { + $num=$this->db->num_rows($resql); $this->lines_model=array(); while ($obj = $this->db->fetch_object($resql)) {