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

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

    Details

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

      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.

        Gliffy Diagrams

          Attachments

            Activity

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

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

            Petr

            Show
            skodak Petr Skoda 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:
                  Fix Release Date:
                  10/May/11