diff --git a/cake/libs/view/theme.php b/cake/libs/view/theme.php index 9ba42915b..fb0fae942 100644 --- a/cake/libs/view/theme.php +++ b/cake/libs/view/theme.php @@ -37,8 +37,8 @@ class ThemeView extends View { * * @param Controller $controller */ - function __construct(&$controller) { - parent::__construct($controller); + function __construct(&$controller, $register = true) { + parent::__construct($controller, $register); $this->theme =& $controller->theme; }