(i have book-id currently with length 10)
when entering book-ids into borrow.php (borrow item) it is fine that
system accepts book-ids with arbitrary number (even 0) of leading zeroes
(i.e. it is not mandatory to have always a number consisting of exactly
10 digits)
displaying works nice if leading zeroes are less/equal to ideally needed
ones -> book-id is corrected to "ideally" expected one.
if more than needed leading zeroes are entered, (i.e.
000000000000000000000000000011P) -> book-id is NOT corrected to
"ideally" expected one in display.
nevertheless borrowing seems to work - i know this is some very minor
thingie only affecting optics :-)
l.g.w.
|