X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=messages.php;h=2d065e32e16bca925ad8c33916b52d14548c5539;hb=c4575213df3077d1b9956dd12132f13ba7567970;hp=826cb6e23df5a2cc38a59018b6070134d42deaf4;hpb=190f7cd55eb57df70388557c44667ac01494ebd1;p=wfpl.git diff --git a/messages.php b/messages.php index 826cb6e..2d065e3 100644 --- a/messages.php +++ b/messages.php @@ -65,7 +65,7 @@ function display_messages(&$tem = NULL) { if(!$GLOBALS['wfpl_messages']) return; foreach($GLOBALS['wfpl_messages'] as $msg) { $sub = array('text' => $msg); - $GLOBALS['wfpl_template']['message'][] = $sub; - $GLOBALS['wfpl_template']['messages'] = TRUE; + $GLOBALS['wfpl_tem_data']['message'][] = $sub; + $GLOBALS['wfpl_tem_data']['messages'] = TRUE; } }