Skip to content

Commit 6519621

Browse files
committed
Cleanup
1 parent 2837246 commit 6519621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DashboardPanelCollection.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ class DashboardPanelCollection extends DashboardPanel
4444
$this->columns['actions__'] = ''; // $this->_('Actions');
4545
}
4646

47+
$pages = $this->collection->getArray();
4748
$columns = $this->parseColumnDefinitions();
48-
4949
$rows = array_map(function ($page) use ($columns) {
5050
return array_map(function ($column) use ($page) {
5151
return $this->renderCellContent($page, $column);
5252
}, $columns);
53-
}, $this->collection->getArray());
53+
}, $pages);
5454

5555
if ($this->showHeaders) {
5656
$headers = array_map(function ($column) {

0 commit comments

Comments
 (0)