contao/core — pull request #4052 by tristanlins (2012-03-07 10:09:41+00:00)
Title: Data container combine

There is a critical error in the DataContainer::combiner() method.
To improve the performance of this method, you reduce the variable $sValues in DC_Table::2752, but in DataContainer::combiner()::473 you walk over this array by a natural incremented index.

I have the following problem, after DC_Table::2752 the variable $sValues may looks like:

```php
array(
0 => 'trigger1',
3 => 'trigger2',
21 => 'trigger3'
)
```

The indexes of the array is not natural, but the DataContainer::combiner() method require this.
I changed the DataContainer::combiner() to use foreach, instead of for($i.., $i++)