From d791bd75b484fc12bafd617a313bfe15d630f08e Mon Sep 17 00:00:00 2001 From: phpnut Date: Thu, 8 Feb 2007 04:55:26 +0000 Subject: [PATCH] Changing check for theme to empty git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4471 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/theme.php b/cake/libs/view/theme.php index 6e8b21564..d1d188c81 100644 --- a/cake/libs/view/theme.php +++ b/cake/libs/view/theme.php @@ -59,7 +59,7 @@ class ThemeView extends View { function __construct (&$controller) { parent::__construct($controller); $this->theme =& $controller->theme; - if($this->theme !== null) { + if(empty($this->theme)) { $this->themeWeb = 'themed/'.$this->theme.'/'; $this->themeElement = VIEWS.'themed'.DS.$this->theme.DS.'elements'.DS; $this->themeLayout = VIEWS.'themed'.DS.$this->theme.DS.'layouts'.DS;