[Koha-bugs] [Bug 33940] Move get_cardnumber_length and checkcardnumber to Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 21 10:51:42 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33940

--- Comment #13 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #11)
> (In reply to Marcel de Rooy from comment #9)
> > Adding field length to comments is dangerous
> > 
> > +    my ( $min, $max ) = ( 0, $field_size );    # borrowers.cardnumber is a
> > nullable varchar(20)
> > 
> > Pref and DB:
> > Maximum cannot be bigger than the database field size of 32.
> 
> This is not an addition. This has been moved from existing code.

I know. But it is not true anymore.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list