Project

General

Profile

Bug #46642 ยป 46642.diff

Franz Holzinger, 2013-07-26 17:36

View differences:

/var/www/html/typo3_src-4.5.28/typo3/sysext/em/classes/tools/class.tx_em_tools.php 2013-07-26 17:26:29.000000000 +0200
* @return string A simple dependency list for display
*/
public static function depToString($dep, $type = 'depends') {
if (is_array($dep)) {
if (is_array($dep) && is_array($dep[$type])) {
if (isset($dep[$type]['php'])) {
unset($dep[$type]['php']);
}
if (isset($dep[$type]['typo3'])) {
unset($dep[$type]['typo3']);
}
$keys =
$s = (count($dep[$type])) ? implode(',', array_keys($dep[$type])) : '';
return $s;
}
    (1-1/1)