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

SQL errors in cron: > HTML entity in SQL code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.6
    • Component/s: Global search
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      I ran the cron script today as Admin on 1.9.3, and got a bunch of SQL errors, like the following:

      ... the right syntax to use near 'AND id IN ('')'
      SELECT id as docid
      FROM mdl_lesson_pages
      WHERE timemodified > AND id IN ('')

        Attachments

          Activity

            People

            Assignee:
            vf Valery Fremaux
            Reporter:
            nicolasconnault Nicolas Connault
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Oct/09