"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Intl/Locale.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

Locale.php  (phplist-3.4.5.tgz):Locale.php  (phplist-3.4.6.tgz)
skipping to change at line 107 skipping to change at line 107
if (false !== $pos = strrpos($locale, '-')) { if (false !== $pos = strrpos($locale, '-')) {
return substr($locale, 0, $pos); return substr($locale, 0, $pos);
} }
if ('root' !== self::$defaultFallback && self::$defaultFallback === $loc ale) { if ('root' !== self::$defaultFallback && self::$defaultFallback === $loc ale) {
return 'root'; return 'root';
} }
// Don't return default fallback for "root", "meta" or others // Don't return default fallback for "root", "meta" or others
// Normal locales have two or three letters // Normal locales have two or three letters
if (\strlen($locale) < 4) { return \strlen($locale) < 4 ? self::$defaultFallback : null;
return self::$defaultFallback;
}
} }
/** /**
* This class must not be instantiated. * This class must not be instantiated.
*/ */
private function __construct() private function __construct()
{ {
} }
} }
 End of changes. 1 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)