diff --git a/dev/ModelViewer.php b/dev/ModelViewer.php index 871a319f5..ebf88f570 100644 --- a/dev/ModelViewer.php +++ b/dev/ModelViewer.php @@ -129,7 +129,7 @@ class ModelViewer_Model extends ViewableData { function getModule() { global $_CLASS_MANIFEST; - $className = $this->className; + $className = strtolower($this->className); if(($pos = strpos($className,'_')) !== false) $className = substr($className,0,$pos); if(isset($_CLASS_MANIFEST[$className])) { if(preg_match('/^'.str_replace('/','\/',preg_quote(BASE_PATH)).'\/([^\/]+)\//', $_CLASS_MANIFEST[$className], $matches)) {