Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13337

Mark subforums read triggers error if subforums contain no topics

    Details

      Description

      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()

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: