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

Strict standards warning displayed when viewing a forum with a posting threshold.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as a teacher and create a forum with a time period for blocking set.
      2. Set a post threshold for blocking and for warning.
      3. Ensure the student role does not have capability "mod/forum:postwithoutthrottling" within the forum.
      4. Login as a student and click to view the forum.
      5. Ensure the following strict standards does not display.

      Strict Standards: Creating default object from empty value in /var/www/mstorage/sm/moodle/mod/forum/view.php on line 159

      Show
      Login as a teacher and create a forum with a time period for blocking set. Set a post threshold for blocking and for warning. Ensure the student role does not have capability "mod/forum:postwithoutthrottling" within the forum. Login as a student and click to view the forum. Ensure the following strict standards does not display. Strict Standards: Creating default object from empty value in /var/www/mstorage/sm/moodle/mod/forum/view.php on line 159
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-39185_master

      Description

      A strict standards warning is displayed when debugging is turned on.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/13