Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Jan 16, 2015
1 parent 7076f5b commit 2fb3fb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to TypiCMS will be documented in this file.

## 1.7.11 - 2014-01-16

### Fixed
- Bug on getting pages array in menulink form.

## 1.7.9 - 2014-01-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion app/TypiCMS/Repositories/RepositoriesAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public function getPagesForSelect()
$pages = App::make('TypiCMS\Modules\Pages\Repositories\PageInterface')
->getAll([], true)
->nest()
->flatten();
->listsFlattened();
$pages = array_merge(['' => '0'], $pages);
$pages = array_flip($pages);
return $pages;
Expand Down

0 comments on commit 2fb3fb1

Please sign in to comment.