diff --git a/lib/classes/module/report/sqlaction.php b/lib/classes/module/report/sqlaction.php index b29a0273d1..efed406be3 100644 --- a/lib/classes/module/report/sqlaction.php +++ b/lib/classes/module/report/sqlaction.php @@ -68,7 +68,7 @@ class module_report_sqlaction extends module_report_sql implements module_report $stmt = $this->getConnBas()->prepare($this->sql); $stmt->execute($this->params); - $this->total = $stmt->rowCount(); + $this->total_row = $stmt->rowCount(); $stmt->closeCursor(); $this->sql .= $this->filter->getOrderFilter($customFieldMap) ? : ''; @@ -91,7 +91,7 @@ class module_report_sqlaction extends module_report_sql implements module_report $stmt = $this->getConnBas()->prepare($this->sql); $stmt->execute($this->params); - $this->total = $stmt->rowCount(); + $this->total_row = $stmt->rowCount(); $stmt->closeCursor(); } diff --git a/lib/classes/module/report/sqldownload.php b/lib/classes/module/report/sqldownload.php index 4edc45e30c..5682d196e9 100644 --- a/lib/classes/module/report/sqldownload.php +++ b/lib/classes/module/report/sqldownload.php @@ -97,7 +97,7 @@ class module_report_sqldownload extends module_report_sql implements module_repo $stmt = $this->connbas->prepare($this->sql); $stmt->execute($this->params); - $this->total = $stmt->rowCount(); + $this->total_row = $stmt->rowCount(); $stmt->closeCursor(); if (count($customFieldMap) > 0) {