working default status/percent for event actioncomm

This commit is contained in:
Florian HENRY
2021-03-01 20:58:02 +01:00
parent f62386a6a5
commit 32ef55cd9e
3 changed files with 3 additions and 5 deletions

View File

@@ -295,12 +295,10 @@ class DefaultValues extends CommonObject
if (!empty($limit)) {
$sql .= ' '.$this->db->plimit($limit, $offset);
}
print $sql;
$resql = $this->db->query($sql);
if ($resql) {
$num = $this->db->num_rows($resql);
var_dump($num);
$i = 0;
while ($i < ($limit ? min($limit, $num) : $num))
{