Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1477

sql error in oublog_print_overview()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9
    • 1.9
    • None
    • Easy
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      while creating a new block that summarize all "module"_print_overview() functions from all "modules"
      i found out that the oublog_print_overview() in your module - oublog does not work correctly due to a tiny
      sql "missing space char" error:

      currently:
      [line 694] $sql .= '(l.course = '.$course->id.'AND l.time > '.$course->lastaccess.') OR ';

      the fix: (space before the AND)
      [line 694] $sql .= '(l.course = '.$course->id.' AND l.time > '.$course->lastaccess.') OR ';

      btw, love your module !!!

            quen Sam Marshall
            nadavkav Nadav Kavalerchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.