Bug 20644: (follow-up) Dont allow NULL value when the dropdown doesnt exist
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
ef8e3f6786
commit
126afcbab1
|
|
@ -121,7 +121,10 @@ if ( $op eq 'add_form' ) {
|
|||
$itemtype->rentalcharge_hourly_calendar($rentalcharge_hourly_calendar);
|
||||
$itemtype->automatic_checkin($automatic_checkin);
|
||||
$itemtype->bookable($bookable);
|
||||
$itemtype->checkprevcheckout($checkprevcheckout);
|
||||
|
||||
if ( defined $checkprevcheckout ) {
|
||||
$itemtype->checkprevcheckout($checkprevcheckout);
|
||||
}
|
||||
|
||||
eval {
|
||||
$itemtype->store;
|
||||
|
|
|
|||
Loading…
Reference in New Issue