Skip to content
Permalink
Browse files

Fix CS.

  • Loading branch information...
dereuromark committed Jun 15, 2015
1 parent 121b887 commit 4e91efd36ff5003a550259bc0f9756a8152fc1bb
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/View/Helper/PaginatorHelper.php
@@ -429,10 +429,10 @@ public function generateUrl(array $options = [], $model = null, $full = false)
$url = array_merge($url, $this->_config['options']['url']);
}
$callback = function($value) {
$url = array_filter($url, function ($value) {
return ($value || is_numeric($value));
};
$url = array_merge(array_filter($url, $callback), $options);
});
$url = array_merge($url, $options);
if (!empty($url['page']) && $url['page'] == 1) {
$url['page'] = null;

0 comments on commit 4e91efd

Please sign in to comment.
You can’t perform that action at this time.