View | Details | Raw Unified | Return to bug 20455
Collapse All | Expand All

(-)a/C4/Utils/DataTables/Members.pm (-2 / +1 lines)
Lines 186-192 sub search { Link Here
186
186
187
        if( $patron->{dateexpiry} ) {
187
        if( $patron->{dateexpiry} ) {
188
            # FIXME We should not format the date here, do it in template-side instead
188
            # FIXME We should not format the date here, do it in template-side instead
189
            $patron->{dateexpiry} = output_pref( { dt => dt_from_string( $patron->{dateexpiry}, 'iso'), dateonly => 1} );
189
            $patron->{dateexpiry} = output_pref( { dt => scalar dt_from_string( $patron->{dateexpiry}, 'iso'), dateonly => 1} );
190
        } else {
190
        } else {
191
            $patron->{dateexpiry} = '';
191
            $patron->{dateexpiry} = '';
192
        }
192
        }
193
- 

Return to bug 20455