Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1571 of /includes/bootstrap.inc).
This is caused because it get's an array from site_map_show_menus
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | variables-2607604-2.patch | 3.46 KB | joelpittet |
Comments
Comment #2
joelpittetMoved to the
site_map.variable.incfolder also because it get's auto loaded.Comment #3
megachrizPatch looks good.
I tested the patch this way:
variable_variable_type_info()function of the variable module to confirm if the type "array" is the right choice for the variable and it appears it is. I did try if the type "options" would fit better (because ideally the edit form for the variable would show as checkboxes instead of a serie of text fields), but that made the variable to be no longer editable, so "array" is the right choice here.RTBC.
Comment #4
renatog commentedHi people.
Really looks good.
Thank you very much for contributions.
Good Work and Good Weekend.
Regards.
Comment #6
renatog commentedFixed.
Commited in dev branch.
Thank you very much people.
Good Work and Good Weekend.
Regards.