From ac79fbd1e98bbf8359f4f6e26decf3a30d496c91 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Fri, 30 Apr 2010 19:07:40 +0000
Subject: [PATCH] Fix another undefined varibable notice.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@70 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 sites/all/themes/unl_wdn/template.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sites/all/themes/unl_wdn/template.php b/sites/all/themes/unl_wdn/template.php
index 15e5d3ae..8d51c52a 100644
--- a/sites/all/themes/unl_wdn/template.php
+++ b/sites/all/themes/unl_wdn/template.php
@@ -125,8 +125,10 @@ function unl_wdn_menu_local_task($variables)
     return '<li' . (!empty($variables['element']['#active']) ? ' class="selected"' : '') . '>' . l($link_text, $link['href'], $link['localized_options']) . "</li>\n";
 }
 
-function unl_wdn_status_messages()
+function unl_wdn_status_messages($variables)
 {
+    $display = $variables['display'];
+    
     $output = '';
     foreach (drupal_get_messages($display) as $type => $messages) {
         $type = ucfirst($type);
-- 
GitLab