We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b197725 commit 14acd52Copy full SHA for 14acd52
template.php
@@ -162,6 +162,9 @@ function kalatheme_process_page(&$variables) {
162
163
// Add local actions as the last item in the local tasks.
164
if (!empty($variables['action_links'])) {
165
+ if (empty($variables['tabs']['#primary'])) {
166
+ $variables['tabs']['#primary'] = array();
167
+ }
168
$variables['tabs']['#primary'][] = array(
169
'#theme' => 'menu_local_actions',
170
'#menu_actions' => $variables['action_links'],
0 commit comments