Skip to content

Commit

Permalink
Merge branch '17.0' of [email protected]:Dolibarr/dolibarr.git into 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 25, 2024
2 parents 207a290 + 385d98b commit 966ac2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3127,7 +3127,7 @@ public function getChildrenOfLine($id, $includealltree = 0)
while ($row = $this->db->fetch_row($resql)) {
$rows[] = $row[0];
if (!empty($includealltree)) {
$rows = array_merge($rows, $this->getChildrenOfLine($row[0]), $includealltree);
$rows = array_merge($rows, $this->getChildrenOfLine($row[0], $includealltree));
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions htdocs/fourn/commande/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -869,10 +869,10 @@
$sql .= " AND cf.date_livraison <= '".$db->idate($search_date_delivery_end)."'";
}
if ($search_date_valid_start) {
$sql .= " AND cf.date_commande >= '".$db->idate($search_date_valid_start)."'";
$sql .= " AND cf.date_valid >= '".$db->idate($search_date_valid_start)."'";
}
if ($search_date_valid_end) {
$sql .= " AND cf.date_commande <= '".$db->idate($search_date_valid_end)."'";
$sql .= " AND cf.date_valid <= '".$db->idate($search_date_valid_end)."'";
}
if ($search_date_approve_start) {
$sql .= " AND cf.date_livraison >= '".$db->idate($search_date_approve_start)."'";
Expand Down

0 comments on commit 966ac2c

Please sign in to comment.