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

View of html resource not adds in log in certain conditions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.7.2, 1.8, 1.9
    • 1.6.4, 1.6.5, 1.7, 1.7.1, 1.7.2, 1.8, 1.9, 2.0
    • Resource
    • None
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      I talk about the display function in the resource_html class definition ( mod/resource/type/html/resource.class.php )

      I think it miss a call of the add_to_log function when $resource->popup is true and $inpopup is false.

      In any case I think that this function must be call one time, before the first "if" and why not, in the parent::display function ,

      Are you agree ?

            lazyfish Yu Zhang
            testeur Etienne Rozé
            Nobody Nobody (Inactive)
            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.