Skip to content

Commit

Permalink
change empty quotation to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
eather009 committed Feb 25, 2017
1 parent fbbe20c commit cc81e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/PaginatorHelper.php
Expand Up @@ -1189,7 +1189,7 @@ public function limitControl(array $limits = [], $default = null, array $options
}

if (empty($limits)) {
$limits += array(''=>__('All'), '20' => '20', '50' => '50', '100' => '100');
$limits += array('0'=>__('All'), '20' => '20', '50' => '50', '100' => '100');
}

if (!in_array($default, $limits)) {
Expand Down

0 comments on commit cc81e01

Please sign in to comment.