diff --git a/src/Propel/Runtime/Map/DatabaseMap.php b/src/Propel/Runtime/Map/DatabaseMap.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Runtime/Map/DatabaseMap.php
+++ b/src/Propel/Runtime/Map/DatabaseMap.php
@@ -184,7 +184,7 @@ class DatabaseMap
             $this->addTableFromMapClass($tmClass);
 
             return $this->tablesByPhpName[$phpName];
-        } else if (class_exists($tmClass = substr_replace($phpName, '\\map\\', strrpos($phpName, '\\'), 1) . 'TableMap')) {
+        } else if (class_exists($tmClass = substr_replace($phpName, '\\Map\\', strrpos($phpName, '\\'), 1) . 'TableMap')) {
             $this->addTableFromMapClass($tmClass);
 
             return $this->tablesByPhpName[$phpName];
Generator now creates the map and om folders camelcased Map and Om