Wednesday 23 January 2008 4:20:35 am
Hello, I'm having this following bug in my admin while try to edit some ini files that contains variables like the following :
[Tool_node_list]
parent_node=2
I want to change the parent_node and I can not save my ini file because there is an underscore in the name and in kernel/settings/validation.php @L61 there's the following code :
if ( !preg_match( "/^[A-Za-z0-9]*$/", $fieldValue ) )
....
To fix my pb, i've done the following but I hate touching the kernel ;-)
if ( !preg_match( "/^[A-Za-z0-9_]*$/", $fieldValue ) )
....
Is there another way to go or is is a fixed bug already (couldn't find it)? (I'm running ez3.9.2 and 3.10.0) Thank you
Gwen
|