Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make field date_start accessable for GETPOST in proposal
Browse files Browse the repository at this point in the history
cfoellmann committed Dec 12, 2023
1 parent 435c8f0 commit 80c5f24
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
@@ -2008,7 +2008,8 @@
$sday = date("d", $tmpdte);
print $form->selectDate($syear."-".$smonth."-".$sday, 'date_livraison', '', '', '', "addprop");
} else {
print $form->selectDate(-1, 'date_livraison', '', '', '', "addprop", 1, 1);
$tmp_date_start = GETPOST('date_start') ? : -1;
print $form->selectDate($tmp_date_start, 'date_livraison', '', '', '', "addprop", 1, 1);
}
print '</td></tr>';

0 comments on commit 80c5f24

Please sign in to comment.