MDL-22788 fixed old currency use

This commit is contained in:
Petr Skoda 2010-08-11 17:22:15 +00:00
parent c0934fc42a
commit c99a4ea201

View File

@ -169,7 +169,7 @@ class enrol_paypal_plugin extends enrol_plugin {
$wwwroot = str_replace("http://", "https://", $CFG->wwwroot);
}
echo '<div class="mdl-align"><p>'.get_string('paymentrequired').'</p>';
echo '<p><b>'.get_string('cost').": $CFG->enrol_currency $cost".'</b></p>';
echo '<p><b>'.get_string('cost').": $instance->currency $cost".'</b></p>';
echo '<p><a href="'.$wwwroot.'/login/">'.get_string('loginsite').'</a></p>';
echo '</div>';
} else {