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

Wrong variable name in functions.php, missing update to sql schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.1
    • 3.0.x
    • Sessions
    • None
    • PHP Environment:
      Database:

      In includes/functions.php, this:

      $reading_sql = ' AND s.session_forum_id = ' . (int) $f;

      should be:

      $reading_sql = ' AND s.session_forum_id = ' . (int) $forum_id;

      Because of the missing update of the SQL schema files, it there is an sql error in viewtopic.

            Kellanved Kellanved [X] (Inactive)
            igorw Igor Wiedler [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: