Revision: 2242
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2242&view=rev
Author:   cimorrison
Date:     2012-01-11 17:49:16 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Following on from Rev 2240, applied the same fix to the datatables 
initialisation so that the correct (expected) language is also used for 
datatables.

Revision Links:
--------------
    http://mrbs.svn.sourceforge.net/mrbs/?rev=2240&view=rev

Modified Paths:
--------------
    mrbs/trunk/web/language.inc

Modified: mrbs/trunk/web/language.inc
===================================================================
--- mrbs/trunk/web/language.inc 2012-01-11 17:29:55 UTC (rev 2241)
+++ mrbs/trunk/web/language.inc 2012-01-11 17:49:16 UTC (rev 2242)
@@ -671,7 +671,7 @@
   
   // Sort the array in reverse order, ie so that the preferred language
   // is at the start of the array
-  arsort($preferred_langs, SORT_NUMERIC);
+  langs_arsort($preferred_langs);
   // First try for an exact match, so if the user specified en-gb, look
   // for en-gb.txt
   foreach ($preferred_langs as $lang => $qual)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to