Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
elgg_deprecated_notice()'s version compare break on some locales (Trac #2749) #2749
Original ticket http://trac.elgg.org/ticket/2749 on 40993669-12-27 by brettp, assigned to unknown.
Elgg version: 1.7
If the locale's decimal point string is set to ',' it breaks the version compare, which causes deprecation notices to show up when they shouldn't.
To duplicate, call setlocale(LC_ALL, $locale) in engine/start.php where $locale is one that uses a comma. pt_BR works for me.