diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php index e9d4c5565..e84ed1a74 100755 --- a/cake/libs/view/helpers/paginator.php +++ b/cake/libs/view/helpers/paginator.php @@ -93,7 +93,6 @@ class PaginatorHelper extends AppHelper { * @throws CakeException When the AjaxProvider helper does not implement a link method. */ function __construct(View $View, $settings = array()) { - parent::__construct($View, $settings); $ajaxProvider = isset($settings['ajax']) ? $settings['ajax'] : 'Js'; $this->helpers[] = $ajaxProvider; $this->_ajaxHelperClass = $ajaxProvider; @@ -106,6 +105,7 @@ class PaginatorHelper extends AppHelper { __('%s does not implement a link() method, it is incompatible with PaginatorHelper'), $classname )); } + parent::__construct($View, $settings); } /**