Commit 4e7abeed authored by alexpott's avatar alexpott

Issue #2009668 followup by drupee, BarisW: Replace theme() with drupal_render() in shortcut module.

parent a21bde54
......@@ -289,10 +289,12 @@ function theme_shortcut_set_customize($variables) {
'#theme' => 'table',
'#header' => $header,
'#rows' => $rows,
'#empty' => t('No shortcuts available. <a href="@link">Add a shortcut</a>.', array(
'@link' => url('admin/config/user-interface/shortcut/manage/' . $form['#shortcut_set_name'] . '/add-link'),
)),
'#attributes' => array(
'id' => 'shortcuts',
'empty' => t('No shortcuts available. <a href="@link">Add a shortcut</a>.', array('@link' => url('admin/config/user-interface/shortcut/manage/' . $form['#shortcut_set_name'] . '/add-link')))
)
),
);
$output = drupal_render($table);
......
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