Moodle
  1. Moodle
  2. MDL-27108

Invalid SQL in mod/data/field/latlong/mod.html

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.11
    • Fix Version/s: 1.9.12
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      17167

      Description

      A query is performed using double quotes around a string instead of single.

      This causes the field options to not appear when using some databases other than MySQL ie postgres.

      Patch is incoming.

        Activity

        Show
        Tony Levi added a comment - https://github.com/tlevi/moodle/tree/mdl27108
        Hide
        Petr Škoda added a comment -

        Thanks for the report and patch! In will be integrated into the next weekly build.

        Petr

        Show
        Petr Škoda added a comment - Thanks for the report and patch! In will be integrated into the next weekly build. Petr

          People

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

            Dates

            • Created:
              Updated:
              Resolved: