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.
2 parents b197725 + 14acd52 commit 5466aa6Copy full SHA for 5466aa6
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