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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: