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

admin/lang.php needs fix.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.8
    • Language
    • None
    • MOODLE_18_STABLE
    • 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;
        }

      Attachments

        Activity

          People

            mudrd8mz David Mudrák (@mudrd8mz)
            mits Mitsuhiro Yoshida
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              31/Mar/07