Merge branch '3.7'

This commit is contained in:
Romain Neutron
2013-04-22 16:54:15 +02:00
2 changed files with 7 additions and 2 deletions

View File

@@ -37,7 +37,10 @@ class module_report_sqlquestion extends module_report_sql implements module_repo
$stmt->closeCursor();
$this->sql .= $this->filter->getOrderFilter() ? : '';
$this->sql .= $this->filter->getLimitFilter() ? : '';
if ($this->enable_limit) {
$this->sql .= $this->filter->getLimitFilter() ? : '';
}
} else {
$this->sql = "
SELECT " . $this->groupby . ", SUM(1) AS nb