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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a1
    • 3.1.0-dev
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: