FIX : wrong check on $search_categ value causing fatal error
This commit is contained in:
parent
35a30e0f8b
commit
665fd9cc0e
@ -452,7 +452,7 @@ if (!empty($arrayfields['t.tobill']['checked']) || !empty($arrayfields['t.billed
|
|||||||
$sql .= " s.nom, s.rowid,";
|
$sql .= " s.nom, s.rowid,";
|
||||||
$sql .= " t.datec, t.dateo, t.datee, t.tms,";
|
$sql .= " t.datec, t.dateo, t.datee, t.tms,";
|
||||||
$sql .= " t.rowid, t.ref, t.label, t.planned_workload, t.duration_effective, t.progress,t.budget_amount, t.fk_statut";
|
$sql .= " t.rowid, t.ref, t.label, t.planned_workload, t.duration_effective, t.progress,t.budget_amount, t.fk_statut";
|
||||||
if ($search_categ) {
|
if ($search_categ > 0) {
|
||||||
$sql .= ", cs.fk_categorie, cs.fk_project";
|
$sql .= ", cs.fk_categorie, cs.fk_project";
|
||||||
}
|
}
|
||||||
// Add fields from extrafields
|
// Add fields from extrafields
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user