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

--- Comment #7 from Marcel de Rooy <[email protected]> ---
+                    if ( end - start > 1 ) {

What is the purpose of this test?
Should it be >0 btw ?
end index is not inclusive in the substring call

What about other places in the script where we do a similar call?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to