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

oublog allposts page uses $pageblocks which is undefined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.9.4
    • None
    • MOODLE_19_STABLE

      Tim emailed me that this was a possible bug, and he's right....

      "I noticed that in mod/oublog/allposts.php that you call blocks_have_content($pageblocks, BLOCK_POS_LEFT without initialising pageblocks anywhere. Surely that can't work!?"

      My feeling is that the easiest way to resolve this is just to remove the potential for a left-column on the allposts page. Its a cluttered page anyway, and adding blocks would make it worse. There's no UI (I don't think) for adding blocks anyway to this mod, so I'm not sure its worth supporting their display - its just a bit of code left over from when I started this page by copying view.php

            jenny-gray Jenny Gray (Inactive)
            jenny-gray Jenny Gray (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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