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;
}
}
}
}
- $data = &$GLOBALS['wfpl_template'];
+ $data = &$GLOBALS['wfpl_tem_data'];
$data['basename'] = $basename;
if(function_exists('display_messages')) {
display_messages();