[Chameleon-dev] [Bug 1292] New: [Chameleon-Core]The MLT language to use is not set in chameleon.php

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Feb 14 15:02:44 EST 2006


           Summary: [Chameleon-Core]The MLT language to use is not set in
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at dmsolutions.ca

The MLT language is not set correctly in chameleon.php before the resources are
loaded (see line 498 and the code snippet below).  The language is set during
the creation of the MLTPHPInclude instance with the first language set in the
application file (.phtml) by the CWCAddRegionalTemplate method.


Change the line "$this->moGlobalMLT->setLanguage = $this->mszCurrentLanguage;"
for: "$this->moGlobalMLT->setLanguage(this->mszCurrentLanguage);"
Code around line 498:

            // set the current language
            if ( isset( $this->mszCurrentLanguage ) )
                $this->moGlobalMLT->setLanguage = $this->mszCurrentLanguage;

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Chameleon-dev mailing list