diff --git a/templates/pane-messages.tpl.php b/templates/pane-messages.tpl.php
index 7a624b0..d690427 100644
--- a/templates/pane-messages.tpl.php
+++ b/templates/pane-messages.tpl.php
@@ -1,5 +1,5 @@
 <?php if (!empty($tabs)): ?>
-  <?php print $tabs; ?>
+  <?php print render($tabs); ?>
 <?php endif; ?>
 
 <?php if (!empty($messages)): ?>
