Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-305

Misspelled variable name in "kApplication::IncludeTemplate" method resulting in ignored "is_silent" parameter

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2-B1
    • Component/s: Front End
    • Labels:
      None

      Description

      Variable $block_params is used instead of $params in "kApplication::IncludeTemplate" method. Because of it parameter "is_silent" won't work. By default when template given to this method is missing in file system, then fatal error is raised. When "is_silent" parameter is given, just notice is raised and script continues it's execution.

      Luckily m_ModuleInclude tag, that required such functionality was calling "NParser::IncludeTemplate" directly, not using "kApplication::IncludeTemplate" method designed for it.

        Attachments

          Activity

            People

            • Assignee:
              alex Alex
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: