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

Tag st_CachedMenu doesn't work when system has more then 5 languages

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.2-B2
    • Fix Version/s: 5.0.3-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      Tag st_CachedMenu doesn't work when system has more then 5 languages. The following code in MenuHelper::_altBuildMenuStructure method:

      $languages_count = ceil($this->Conn->GetOne('SELECT COUNT FROM '.TABLE_PREFIX.'Language')/5)*5

      always rounds up language count up, so for 6 languages we will get 10 columns and of course 4 of them will be missing.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: