Skip to content

Commit

Permalink
make field date_delivery accessible for GETPOST in proposal (#27063)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
  • Loading branch information
cfoellmann and eldy authored Nov 13, 2024
1 parent 714dc0c commit 44371d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/comm/propal/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -2145,7 +2145,8 @@
$sday = date("d", $tmpdte);
print $form->selectDate($syear."-".$smonth."-".$sday, 'date_livraison', 0, 0, 0, "addprop");
} else {
print $form->selectDate(-1, 'date_livraison', 0, 0, 0, "addprop", 1, 1);
$tmp_date_delivery = GETPOST('date_delivery') ? : -1;
print $form->selectDate($tmp_date_delivery, 'date_livraison', 0, 0, 0, "addprop", 1, 1);
}
print '</td></tr>';

Expand Down

0 comments on commit 44371d6

Please sign in to comment.