× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
db_table form creator modication
Because my database tables have underscore, I added this sign in the validity check.

In helpers/forms.php, line 443:
if (!preg_match("#^[a-z0-9_]+$#", $name)) {

Thanks for this. Originally (when I was creating this a few weeks ago) I was trying to prevent people from creating forms that were forms of forms like myform_form_form etc. I'm going to put in a ticket for this and try to roll this out to everyone in 4.3.15. Thanks!

Forum Jump:

Users browsing this thread: 1 Guest(s)