In emails sent to a customer, there is an announcement
// the following phrase must be present in the email's content. See the license - http://opensolution.org/licenses.html $sMailContent .= "\n\n".( LANGUAGE == 'pl' ) ? 'Wysłane przez program Quick.Cart' : 'Sent by the Quick.Cart program';
The string "Wysłane przez program Quick.Cart" should be IMHO language depending. Today it says almost nothing to a customer not knowing the Polish language. If written in respective LANGUAGE == '$config['default_lang']', the provided information would help to share the popularity of QC. However, the comment to this code line excludes the possibility to modify the code. If this is not stricktly prohibited, how shal the code be changed?
But if you use the classic if statement, it does work:
if ( LANGUAGE == 'pl' ) { $string = 'Wysłane przez program Quick.Cart'; } else { $string = 'Sent by the Quick.Cart program'; } $sMailContent .= "\n\n".$string;