icecaster/silverstripe-versioned-gridfield — pull request #21 by schellmax (2014-11-27 09:43:42+00:00)
Title: fixing baseTable() function

using `array_pop()` here will get the last element of `$classes` array, meaning 'the furthermost child class' instead of 'the furthermost ancestor class'. So the `isPublished()` function (which relies on `baseTable()`) delivers unpredictable results.

replacing by `array_shift()`, as it's also done in the related `baseTable()` function of `DataObject` class