Commit c0e37cca authored by pjcdawkins's avatar pjcdawkins Committed by Spleshka

Issue #2183995 by pjcdawkins, helmo: Notice: Array to string conversion in...

Issue #2183995 by pjcdawkins, helmo: Notice: Array to string conversion in expire_get_menu_structure().
parent 31291c3c
...@@ -362,7 +362,7 @@ function expire_get_menu_structure($menu, $found, $needle, $first, &$found_globa ...@@ -362,7 +362,7 @@ function expire_get_menu_structure($menu, $found, $needle, $first, &$found_globa
// Clean up // Clean up
if (isset($structure)) { if (isset($structure)) {
if (is_array($structure)) { if (is_array($structure)) {
$structure = array_unique($structure); $structure = array_unique($structure, SORT_REGULAR);
} }
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment