Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.inc
folder also because it get's auto loaded.Comment #3
MegaChriz CreditAttribution: MegaChriz at WebCoo commentedPatch 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
renatogHi people.
Really looks good.
Thank you very much for contributions.
Good Work and Good Weekend.
Regards.
Comment #6
renatogFixed.
Commited in dev branch.
Thank you very much people.
Good Work and Good Weekend.
Regards.