Properly handle the yes/no config variable for showing registration cost brekadown on the summary page

This commit is contained in:
james 2007-02-20 18:37:38 +00:00
parent 8830c1be99
commit 40e305b83a

View File

@ -308,7 +308,8 @@ echo "<table><tr><td>";
echo "<td><font size=-1>".i18n($extra)."</font></td>";
echo "</tr>";
}
if($config['regfee_show_info']) {
if($config['regfee_show_info'] == 'yes')
{
echo "<h3>".i18n("Registration Fee Information")."</h3>";
$regfee = 0;