Fixed typo using the correct config value

This commit is contained in:
Andy Heathershaw 2016-09-09 17:11:09 +01:00
parent 7a59ac03fd
commit 068ed2018a
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class AlbumController extends Controller
$photos = $album->photos()
->orderBy(DB::raw('COALESCE(taken_at, created_at)'))
->paginate(UserConfig::get('items_per_page_admin'));
->paginate(UserConfig::get('items_per_page'));
return Theme::render('gallery.album', [
'album' => $album,