The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
db_table form creator modication - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: db_table form creator modication (/showthread.php?tid=995) |
db_table form creator modication - eeverts - 03-08-2018 Because my database tables have underscore, I added this sign in the validity check. In helpers/forms.php, line 443: <pre> Code: if (!preg_match("#^[a-z0-9_]+$#", $name)) { Evert db_table form creator modication - mudmin - 03-08-2018 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! |