Skip to content

Commit

Permalink
make field date_start accessable for GETPOST in proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoellmann committed Dec 13, 2023
1 parent c512eff commit 384aa6c
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 @@ -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>';

Expand Down

0 comments on commit 384aa6c

Please sign in to comment.