Non-core contributed modules

The login form displayed through MRBS does not work.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: None
  • Component/s: Block: Mrbs
  • Labels:
    None
  • Environment:
    Any

Description

As reported in http://moodle.org/mod/forum/discuss.php?d=38604#p457138

When addressing a MRBS calendar page directly by the URL, and clicking on the "add bookings" sign, A login form is displayed. This login form does not allow the user to login via moodle.

This behavior can be changed by replacing the entire function printLoginForm($TargetURL) on Line 85 of session_php.php

with this code:

function printLoginForm($TargetURL)
{
global $PHP_SELF;
$SESSION->wantsurl = $TargetURL;
require_login();
}

I've attached a patch.

  1. CONTRIB-665.diff
    18/Aug/08 12:46 PM
    1 kB
    Anthony Borrow
  2. login_patch.txt
    18/Aug/08 5:23 AM
    1 kB
    Stephen Bourget

Activity

Hide
Anthony Borrow added a comment -

Thanks Steve, you make my job really easy! I applied your patch. Peace - Anthony

Show
Anthony Borrow added a comment - Thanks Steve, you make my job really easy! I applied your patch. Peace - Anthony
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: