diff --git a/cake/libs/view/helpers/js.php b/cake/libs/view/helpers/js.php index 546792c68..5c3571bef 100644 --- a/cake/libs/view/helpers/js.php +++ b/cake/libs/view/helpers/js.php @@ -501,6 +501,7 @@ class JsBaseEngineHelper extends AppHelper { * @return void */ function __construct() { + parent::__construct(); $this->useNative = function_exists('json_encode'); } diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php index f3bb2cdb0..ca5f45541 100644 --- a/cake/libs/view/helpers/paginator.php +++ b/cake/libs/view/helpers/paginator.php @@ -88,6 +88,7 @@ class PaginatorHelper extends AppHelper { * @return void */ function __construct($config = array()) { + parent::__construct($config); $ajaxProvider = isset($config['ajax']) ? $config['ajax'] : 'Js'; $this->helpers[] = $ajaxProvider; $this->_ajaxHelperClass = $ajaxProvider;