Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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;
        }

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            koen Koen Roggemans added a comment -

            David does lang.php these days

            Show
            koen Koen Roggemans added a comment - David does lang.php these days
            Hide
            mudrd8mz David Mudrák added a comment -

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

            Show
            mudrd8mz David Mudrák 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:
                  Fix Release Date:
                  31/Mar/07