Wolfgang Pichler wrote:
(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.
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda
This just required a change in the format_book_id() function, which I
modified at the same time when fixing the card_number update issue.
Committed into CVS, and report if problems still exist.
--
Christoffer Landtman
Oy Realnode Ab
Partner, Sales
+358 (0)41 510 1073
landtman@xxxxxxxxxxx
www.realnode.fi
|