Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20520

de_utf8/admin.php There is an error with the `curlcache` string that is causing notices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 1.9.5
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When testing changes I was making to the auth language files I found that the `curlcache` string in de_utf8/admin.php is causing multiple notices to be shown.

      Notice: Trying to get property of non-object in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 117
      Notice: Trying to get property of non-object in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 118
      Notice: Undefined variable: CFG in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 378
      Notice: Trying to get property of non-object in /var/www/m20.dev1/moodle/lib/moodlelib.php(5960) : eval()'d code on line 378
      + several more (note the CFG one)

      The error can be replicated by simply logging in, changing your language to `de` and then browsing to the admin section.

      The error is (I believe) caused because $a is used several time throughout the string sometimes as an object, sometime just '$a'. I'm not too sure what $a is meant to be and as I don't speak that language I really have no clue what is going on. If someone who understands de this could please check it and make a decision about what it should be a fix it that would be fantastic

        Attachments

          Activity

            People

            Assignee:
            koen Koen Roggemans
            Reporter:
            samhemelryk Sam Hemelryk
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            cameron1729, David Mudrák (@mudrd8mz), Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/May/09