laravel/framework — pull request #2509 by sumardi (2013-10-17 20:28:37+00:00)
Title: Fix paginator limit equals zero

Omitting the LIMIT and OFFSET clause when `DB::table()->paginate()`, limit per page is set to less or equal zero.