Show card number (non-editable) on opac-userupdate.pl. Also correctly formatting...
[koha_fer] / opac / opac-userupdate.pl
index f01a664..ad9a225 100755 (executable)
@@ -118,7 +118,7 @@ EOF
 }
 
 $borr->{'dateenrolled'} = format_date( $borr->{'dateenrolled'} );
-$borr->{'expiry'}       = format_date( $borr->{'expiry'} );
+$borr->{'dateexpiry'}       = format_date( $borr->{'dateexpiry'} );
 $borr->{'dateofbirth'}  = format_date( $borr->{'dateofbirth'} );
 $borr->{'ethnicity'}    = fixEthnicity( $borr->{'ethnicity'} );