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

If no tracked activity is available, a "division by zero" warning is shown

XMLWordPrintable

    • 2016061801
    • MOODLE_30_STABLE

      Hi.

      I configured a progress bar to tracked a number of activities, but none of them are currently visible for the user : not opened yet because of a date restriction.

      The block shows nothing, only its title and the course title, and a warning is thrown.

      Warning: Division by zero in /home/moodle/www/moodle-test/blocks/progress/lib.php on line 1448

            salvetore Michael de Raadt
            mathiasc Mathias Chouet
            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.