Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Calling parent constructors in helpers that have it omitted. Fixes #1359

  • Loading branch information...
commit 5ffc84d28a82de9b12eb85c71de1fed760472143 1 parent d7e62b8
@markstory markstory authored
View
1  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');
}
View
1  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;
Please sign in to comment.
Something went wrong with that request. Please try again.