Booking not saved if seat prefix has more than 11 characters

[ad_1]

First of all, thank you for this great plugin!

I have a very specific use case where I need to name the “seats/seats”. While testing, I found that the booking only works if the prefix is not longer than 11 characters. The booking is not saved if I have more than 11 characters.

I checked the coding in “seatreg_functions.php” and saw that the database field “seat_nr” is defined as “varchar(11)”. For my use case, I changed the coding/database field to “varchar(255)” and now the booking is also stored with a longer prefix.

Could you expand the field to 255 by default or is there a reason this was limited?

With kind regards,
Kai

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer