Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13337

Mark subforums read triggers error if subforums contain no topics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.2-RC1
    • 3.1.1
    • JavaScript / AJAX
    • None

      Clicking on "Mark subforums read" will trigger an SQL error if the subforums are contain no topics (e.g. new forums or only links):

      SQL ERROR [ mysqli ]
       
      [0]
       
      SQL
       
      No values specified for SQL IN comparison
       
      BACKTRACE
       
      FILE: (not given by php)
      LINE: (not given by php)
      CALL: msg_handler()
       
      FILE: [ROOT]/phpbb/db/driver/driver.php
      LINE: 855
      CALL: trigger_error()
       
      FILE: [ROOT]/phpbb/db/driver/driver.php
      LINE: 536
      CALL: phpbb\db\driver\driver->sql_error()
       
      FILE: [ROOT]/phpbb/db/driver/factory.php
      LINE: 441
      CALL: phpbb\db\driver\driver->sql_in_set()
       
      FILE: [ROOT]/phpbb/notification/manager.php
      LINE: 295
      CALL: phpbb\db\driver\factory->sql_in_set()
       
      FILE: [ROOT]/includes/functions.php
      LINE: 1253
      CALL: phpbb\notification\manager->mark_notifications_read_by_parent()
       
      FILE: [ROOT]/includes/functions_display.php
      LINE: 339
      CALL: markread()
       
      FILE: [ROOT]/viewforum.php
      LINE: 138
      CALL: display_forums()

            Marc Marc
            Marc Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: