SugarAI is currently reviewing our Marketplace strategy and submission process. During this time, we are temporarily pausing new Marketplace partner and add-on submissions.

We appreciate your patience as we work to ensure the Marketplace continues to provide a strong and relevant experience for our customers and partners. For questions, contact marketplace@sugarai.com.

#4 - SampleLicenseAddon has $language instead of $current_language

Closed Bug? created by blak3r 14 years ago
In the method below, the $language variable isn't defined. I believe it should be set to $current_language. (SampleLicenseAddon) ``` protected static function loadLicenseStrings() { global $sugar_config, $currentModule; //load license config file....if it isn't broken don't fix it $default_language = $sugar_config['default_language']; $langs = array(); ** if ($language != 'en_us') { ** $langs[] = 'en_us'; } if ($default_language != 'en_us' && $language != $default_language) { $langs[] = $default_language; } $langs[] = $language; ```
  1. jason member avatar

    jason Provider

    14 years ago

    You're exactly right. Fixed and updated SampleLicenseAddon.zip.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...