diff --git a/lib/Cake/View/Helper/PaginatorHelper.php b/lib/Cake/View/Helper/PaginatorHelper.php index 22b375e98..05a9935b1 100644 --- a/lib/Cake/View/Helper/PaginatorHelper.php +++ b/lib/Cake/View/Helper/PaginatorHelper.php @@ -701,7 +701,7 @@ class PaginatorHelper extends AppHelper { if ($offset < $start - 1) { $out .= $this->first($offset, compact('tag', 'separator', 'ellipsis', 'class')); } else { - $out .= $this->first($offset, compact('tag', 'separator', 'class') + array('after' => $separator)); + $out .= $this->first($offset, compact('tag', 'separator', 'class', 'ellipsis') + array('after' => $separator)); } } @@ -735,7 +735,7 @@ class PaginatorHelper extends AppHelper { if ($offset <= $last && $params['pageCount'] - $end > $offset) { $out .= $this->last($offset, compact('tag', 'separator', 'ellipsis', 'class')); } else { - $out .= $this->last($offset, compact('tag', 'separator', 'class') + array('before' => $separator)); + $out .= $this->last($offset, compact('tag', 'separator', 'class', 'ellipsis') + array('before' => $separator)); } }