mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Bug #5941 - Myriad of problems with Paypal enrollmemts, part 2 - Login as guest not shown to guests and there is login link instead of paypal button for guests; merged from MOODLE_16_STABLE
This commit is contained in:
parent
7c24284126
commit
e87fe61524
2 changed files with 25 additions and 11 deletions
|
@ -37,7 +37,7 @@
|
|||
print_simple_box_end();
|
||||
|
||||
|
||||
if ($course->guest) {
|
||||
if ($course->guest and !isguest()) {
|
||||
print_simple_box_start('center');
|
||||
?>
|
||||
<form name="form" method="post" action="enrol.php">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue