Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2075

AppController theme_stacking Check Throws Error

    XMLWordPrintable

Details

    Description

      Page loads on pre-4.0.0 instances where theme_stacking has not been set throw a warning:

      Notice (8): Undefined index: theme_stacking [APP/Controller/AppController.php, line 955]

      Instead of using CoSetting->find, AppController should use a function added to CoSetting, such as CoSetting::themeStackingEnabled($coId), that uses CoSetting::lookupValue to perform the check. A similar call could be used to obtain the co_theme_id.

      Attachments

        Activity

          People

            ioannis.igoumenos@at.internet2.edu Ioannis Eythymios Igoumenos
            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: