Bug 1953: refactoring C4::Koha::get_itemtypeinfos_of to eliminate potential SQL injection