Arrays > remove unnecessary code

This commit is contained in:
Meritoo
2018-06-16 14:10:57 +02:00
parent b1ddc6d561
commit be8b4a3498

View File

@@ -48,23 +48,6 @@ class Arrays
if (is_array($value)) {
$effect .= self::values2string($value, $arrayColumnKey, $separator);
/*
* Previous version. Doesn't work with array containing arrays, e.g.:
* array(
* 1 => array(
* 'item1',
* 'item2'
* ),
* 2 => array(
* 'item3',
* 'item4'
* )
* )
*
if(isset($value[$arrayColumnKey])){
$effect .= $value[$arrayColumnKey];
}
*/
} else {
if (empty($arrayColumnKey)) {
$effect .= $value;