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

Use of $cache for two different things in includes/config/db.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • None
    • None

    Description

      https://github.com/phpbb/phpbb3/blob/develop/phpBB/includes/config/db.php

      $cache is sometimes referring to the cache object and sometimes it is a boolean flag indicating cacheability of a particular configuration setting.

      Two distinct variables should be used instead.

      Attachments

        Activity

          People

            bantu Andreas Fischer
            Oleg Oleg [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: