FIX #15074
This commit is contained in:
parent
49ccf2a3cb
commit
ad922bfde6
@ -236,6 +236,9 @@ if ($socid) $sql .= " AND f.fk_soc = ".$socid;
|
||||
$sql .= " GROUP BY u.rowid, u.lastname, u.firstname";
|
||||
$sql .= " ORDER BY u.rowid";
|
||||
|
||||
$amount = array();
|
||||
|
||||
dol_syslog("cabyuser", LOG_DEBUG);
|
||||
$result = $db->query($sql);
|
||||
if ($result) {
|
||||
$num = $db->num_rows($result);
|
||||
|
||||
@ -293,6 +293,8 @@ $sql .= " GROUP BY s.rowid, s.nom, s.zip, s.town, s.fk_pays";
|
||||
$sql .= " ORDER BY s.rowid";
|
||||
//echo $sql;
|
||||
|
||||
$amount = array();
|
||||
|
||||
dol_syslog("casoc", LOG_DEBUG);
|
||||
$result = $db->query($sql);
|
||||
if ($result) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user