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

When no icon is assigned to a block content, a warning error is displayed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Blocks
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      Create a block with :
      $this->content->items[] = '...'
      but no $this->content->icons[] = '...'

      On the page displaying this block, you should see this error message:
      Notice: Undefined offset: 2 in /home/jerome/Projects/Moodle_HEAD/moodle/lib/outputrenderers.php on line 1009

      Attachments

        Activity

          People

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Tim Hunt Tim Hunt
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10