Bug #22237 ยป class.em_index.patch
class.em_index.php (working copy) | ||
---|---|---|
* @return array
|
||
*/
|
||
function fixEMCONF($emConf) {
|
||
$this->convertArrayCSToDefaultCS($emConf);
|
||
|
||
if(!isset($emConf['constraints']) || !isset($emConf['constraints']['depends']) || !isset($emConf['constraints']['conflicts']) || !isset($emConf['constraints']['suggests'])) {
|
||
if(!isset($emConf['constraints']) || !isset($emConf['constraints']['depends'])) {
|
||
$emConf['constraints']['depends'] = $this->stringToDep($emConf['dependencies']);
|
||
... | ... | |
return $content . '</table><br />';
|
||
}
|
||
|
||
/**
|
||
* Convert all elements in ARRAY with type string from the charset iso-8859-1 to the default charset used in the backend.
|
||
* NOTICE: Array is passed by reference!
|
||
*
|
||
* @param array $array Input array, possibly multidimensional
|
||
*
|
||
* @see t3lib_cs::convArray()
|
||
*/
|
||
function convertArrayCSToDefaultCS(&$array) {
|
||
if (is_object($GLOBALS['LANG'])) {
|
||
$GLOBALS['LANG']->csConvObj->convArray($array,'iso-8859-1',$GLOBALS['LANG']->charSet);
|
||
}
|
||
}
|
||
}
|
||