mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 01:53:03 +01:00
working default status/percent for event actioncomm
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user