This commit is contained in:
Romain Neutron
2013-04-22 16:40:24 +02:00
parent 61670e76bf
commit 516007a641
2 changed files with 6 additions and 4 deletions

View File

@@ -56,8 +56,9 @@ class module_report_sqlquestion extends module_report_sql implements module_repo
$this->total_row = $stmt->rowCount();
$stmt->closeCursor();
if ($this->enable_limit)
if ($this->enable_limit) {
$this->sql .= $this->filter->getLimitFilter() ? : '';
}
} else {
$this->sql = "
SELECT