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

compact() calls with undefined variables in search.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.3.0-RC1
    • 3.3.0
    • Search
    • PHP 7.4

    Description

      ./search.php?author_id=x&sr=posts (where X is the user id)

       

      Click on the Search user's posts located in memberlist, viewtopic, viewprofile etc..

       

      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: folder_img
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: folder_alt
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: topic_type
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: unread_topic
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: topic_unapproved
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: posts_unapproved
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: topic_deleted
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: u_mcp_queue
      

       

       

      Attachments

        Issue Links

          Activity

            People

              Marc Marc
              3Di 3Di [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: