Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE
    • Rank:
      29327

      Description

      Now admin lang.php writes "?\>" at the bottom of a language file instead of writting "?>".
      This stops moodle because of the illegal php syntax.
      So ... we need to fix admin/lang.php as below.

      Index: lang.php
      ===================================================================
      RCS file: /cvsroot/moodle/moodle/admin/lang.php,v
      retrieving revision 1.84
      diff -u -r1.84 lang.php
      — lang.php 9 Jan 2007 09:22:16 -0000 1.84
      +++ lang.php 9 Jan 2007 18:48:39 -0000
      @@ -542,7 +542,7 @@
      }
      }
      }

      • fwrite($f,"\n?\>\n");
        + fwrite($f,"\n?>\n");
        fclose($f);
        return true;
        }
      1. lang.php.patch
        0.4 kB
        Mitsuhiro Yoshida

        Activity

        Hide
        Koen Roggemans added a comment -

        David does lang.php these days

        Show
        Koen Roggemans added a comment - David does lang.php these days
        Hide
        David Mudrak added a comment -

        This was introduced in 1.80 by moodler. Don't know why (???). It has been fixed in 1.86

        Show
        David Mudrak added a comment - This was introduced in 1.80 by moodler. Don't know why (???). It has been fixed in 1.86

          People

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

            Dates

            • Created:
              Updated:
              Resolved: