Non-core contributed modules

Notices displayed in latest build of MRBS

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

The following notices are displayed when you visit the MRBS calendar pages when the user is not logged in.

Notice: Undefined property: object::$lang in /Users/sbourget/Sites/moodle19/blocks/mrbs/web/config.inc.php on line 298

Notice: Undefined property: object::$lang in /Users/sbourget/Sites/moodle19/blocks/mrbs/web/config.inc.php on line 336

Notice: Undefined property: object::$lang in /Users/sbourget/Sites/moodle19/blocks/mrbs/web/config.inc.php on line 349

Attached is a patch to prevent the notices.

  1. CONTRIB-664.diff
    18/Aug/08 12:46 PM
    2 kB
    Anthony Borrow
  2. patch.txt
    18/Aug/08 4:53 AM
    2 kB
    Stephen Bourget

Activity

Hide
Anthony Borrow added a comment -

Thanks Steve for the report and patch. I have applied it along with an else statement to use 'en' as the default. Peace - Anthony

Show
Anthony Borrow added a comment - Thanks Steve for the report and patch. I have applied it along with an else statement to use 'en' as the default. 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: