[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17571]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17571] |
Date: |
Fri, 12 Jan 2018 21:46:40 -0500 (EST) |
Revision: 17571
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17571
Author: nelson224
Date: 2018-01-12 21:46:40 -0500 (Fri, 12 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/login.php
Modified: branches/dev-syncromind/property/login.php
===================================================================
--- branches/dev-syncromind/property/login.php 2018-01-13 02:46:25 UTC (rev
17570)
+++ branches/dev-syncromind/property/login.php 2018-01-13 02:46:40 UTC (rev
17571)
@@ -135,7 +135,8 @@
$lang =
$GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
$apps = $GLOBALS['phpgw_info']['user']['apps'];
$apps['phpgwapi'] = true; // check the api too
- while(list($app, $data) = each($apps))
+ //while(list($app, $data) = each($apps))
+ foreach($apps as $app => $data)
{
$fname = PHPGW_SERVER_ROOT .
"/$app/setup/phpgw_$lang.lang";
@@ -164,10 +165,14 @@
$GLOBALS['phpgw_setup']->detection->check_lang(false); // get
installed langs
$langs = $GLOBALS['phpgw_info']['setup']['installed_langs'];
- while(list($lang) = @each($langs))
- {
+ //while(list($lang) = @each($langs))
+ if (is_array($langs))
+ {
+ foreach($langs as $lang => $value)
+ {
$langs[$lang] = $lang;
- }
+ }
+ }
$_POST['submit'] = true;
$_POST['lang_selected'] = $langs;
$_POST['upgrademethod'] = 'dumpold';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17571],
nelson . guerra <=