diff -u modules/shortcut/shortcut.install modules/shortcut/shortcut.install --- modules/shortcut/shortcut.install +++ modules/shortcut/shortcut.install @@ -1,6 +1,7 @@ fields('s') ->join('shortcut_set_users', 'u', 's.set_name = u.set_name') @@ -226,7 +230,7 @@ // Allow modules to return a default shortcut set name. Since we can only // have one, we take the first valid result we get. If we don't find one, // fall back on the site-wide default. - $shortcut_set_names = array_merge(module_invoke_all('shortcut_default_set_name', $account), variable_get('shortcut_default_set_name', shortcut_set_name())); + $shortcut_set_names = array_merge(module_invoke_all('shortcut_default_set_name', $account), array(variable_get('shortcut_default_set_name', shortcut_set_name()))); foreach ($shortcut_set_names as $name) { if ($shortcut_set = shortcut_set_load($name)) { break;