Permalink
Browse files

fix not work ini option 'force_languages'

  • Loading branch information...
nao-pon committed Mar 5, 2014
1 parent a31e079 commit 74a71bbb367da395d432ad880a1a97c561bacc7b
Showing with 3 additions and 5 deletions.
  1. +3 −5 xoops_trust_path/modules/xupdate/include/ModulesIniDadaSet.class.php
@@ -476,11 +476,9 @@ private function _createItemOptions( $item, $caller )
$item_arr['modinfo'] = $item['modinfo'] ;
}
if(isset($item['force_languages'])){
if ($item_arr['force_languages']) {
$item_arr['force_languages'] = array_map('trim', explode(',', trim($item['force_languages'])));
} else {
$item_arr['force_languages'] = array();
}
$item_arr['force_languages'] = array_map('trim', explode(',', trim($item['force_languages'])));
} else {
$item_arr['force_languages'] = array();
}
// check tag is UTF-8 with json_encode

0 comments on commit 74a71bb

Please sign in to comment.