diff --git a/framework/base/control.class.php b/framework/base/control.class.php index b36731309c..b5892ef58c 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -941,7 +941,7 @@ class baseControl $modulePath = $this->app->getModulePath($this->appName, $moduleName); $viewType = $this->viewType == 'mhtml' ? 'html' : $this->viewType; $mainViewFile = $modulePath . 'ui' . DS . $this->devicePrefix . strtolower($methodName) . '.' . $viewType . '.php'; - if(file_exists($mainViewFile)) return $this->render($moduleName, $methodName); + return $this->render($moduleName, $methodName); } if(empty($this->output)) $this->parse($moduleName, $methodName);