Commit e6b14d26 authored by Steven Wittens's avatar Steven Wittens

- #13738: Fix bug in configuring theme styles

parent 4fee0bdb
......@@ -94,7 +94,7 @@ function system_menu($may_cache) {
foreach (list_themes() as $theme) {
$items[] = array('path' => 'admin/themes/settings/'. $theme->name, 'title' => $theme->name,
'callback' => 'system_theme_settings', 'access' => $access,
'callback' => 'system_theme_settings', 'callback arguments' => array($theme->name), 'access' => $access,
'type' => MENU_LOCAL_TASK);
}
......
......@@ -94,7 +94,7 @@ function system_menu($may_cache) {
foreach (list_themes() as $theme) {
$items[] = array('path' => 'admin/themes/settings/'. $theme->name, 'title' => $theme->name,
'callback' => 'system_theme_settings', 'access' => $access,
'callback' => 'system_theme_settings', 'callback arguments' => array($theme->name), 'access' => $access,
'type' => MENU_LOCAL_TASK);
}
......
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