Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2021-05-18 12:35:30 +02:00 committed by GitHub
parent 1a38d075a6
commit 495d2e79f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8129,7 +8129,7 @@ class Form
//if ($projectsListId) $sql.= " AND p.rowid IN (".$projectsListId.")";
//if ($socid == 0) $sql.= " AND (p.fk_soc=0 OR p.fk_soc IS NULL)";
//if ($socid > 0) $sql.= " AND (p.fk_soc=".$socid." OR p.fk_soc IS NULL)";
$sql .= " GROUP BY f.ref, f.rowid, flabel,pid, p.title, p.fk_soc, p.fk_statut, p.public, name ORDER BY p.ref, f.ref ASC";
$sql .= "ORDER BY p.ref, f.ref ASC";
$resql = $this->db->query($sql);
if ($resql)