the stickyduedate input isn't sent on from the question dialogs. This
causes it to un-stick if there is a question.
Also removed month, day, and year as there seems to be no use for them.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
my $barcode = $query->param('barcode') || '';
$barcode = barcodedecode($barcode) if( $barcode && C4::Context->preference('itemBarcodeInputFilter'));
-my $year = $query->param('year');
-my $month = $query->param('month');
-my $day = $query->param('day');
my $stickyduedate = $query->param('stickyduedate');
my $duedatespec = $query->param('duedatespec');
my $issueconfirmed = $query->param('issueconfirmed');
<input type="hidden" name="issueconfirmed" value="1" />
<!-- TMPL_IF NAME="DEBT" --><input type="hidden" name="debt_confirmed" value="1" /><!-- /TMPL_IF -->
<input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
- <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
- <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
- <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
+ <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
</form>