JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
wfpl_template: renamed to wfpl_tem_data to avoid conflict with old system.
[wfpl.git] / messages.php
index 826cb6e..2d065e3 100644 (file)
@@ -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;
        }
 }