# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/plugin.foundation.php +++ administrator/components/com_comprofiler/plugin.foundation.php @@ -3094,7 +3096,7 @@ $cmsRedirectFunc = array( $mainframe, 'redirect' ); $lang =& JFactory::getLanguage(); $myLanguage = strtolower( preg_replace( '/^(\w+).*$/i', '\1', $lang->getName() ) ); - $myLanguageTag = $lang->getTag(); + $myLanguageTag = strtolower( $lang->getTag() ); $outputCharst = 'UTF-8'; $getVarFunction = array( 'JRequest', 'getVar' ); $Jdocument =& JFactory::getDocument(); @@ -3124,7 +3126,7 @@ $cmsRedirectFunc = array( $mainframe, 'redirect' ); $lang =& JFactory::getLanguage(); $myLanguage = $lang->getBackwardLang(); - $myLanguageTag = $lang->getTag(); + $myLanguageTag = strtolower( $lang->getTag() ); $outputCharst = 'UTF-8'; $getVarFunction = array( 'JRequest', 'getVar' ); $Jdocument =& JFactory::getDocument();