https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14969 --- Comment #40 from Dobrica Pavlinusic <dpavlin@rot13.org> --- Is there reason why we use output_pref( { dt => dt_from_string( $subs->{startdate} ), dateonly => 1 } ); instead of output_pref( { str => subs->{startdate}, dateonly => 1 } ); Second one has nice side-effect that it supports empty dates (which return as undef from database) in serial module. In our case, empty dates for planneddate and publisheddate produce application error base hash { dt => dt_from_string( $line->{planneddate} ), dateonly => 1 } folds to { dt , dateonly => 1 } which makes dt = 'dateonly' which in turn is not object and result in application error. Should I prepare separate bug for this change? Does it make sense? -- You are receiving this mail because: You are watching all bug changes.