Moodle
  1. Moodle
  2. MDL-14865

passing $CFG to get_string causes notices

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2
    • Component/s: Resource
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      30898

      Description

      get_string cleaning doesn't like $CFG

      [Fri May 16 10:04:39 2008] [error] [client 89.138.43.95] PHP Notice: Illegal member variable name in /moodle/moodle19/lib/moodlelib.php on line 5061

        Activity

        Hide
        Martin Dougiamas added a comment -

        Fixed with a temporary variable

        Show
        Martin Dougiamas added a comment - Fixed with a temporary variable
        Hide
        Dongsheng Cai added a comment -

        Close, thanks.

        Show
        Dongsheng Cai added a comment - Close, thanks.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: