Browse Source

Don't inflect the alias

If it's wrong, it's not likely to be more-right when it's inflected
AD7six 11 years ago
parent
commit
fe554bb9c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ORM/Table.php

+ 1 - 1
src/ORM/Table.php

@@ -370,7 +370,7 @@ class Table implements RepositoryInterface, EventListenerInterface
             $this->_repositoryAlias = $repositoryAlias;
         }
         if ($this->_repositoryAlias === null) {
-            $this->_repositoryAlias = Inflector::camelize($this->alias());
+            $this->_repositoryAlias = $this->alias();
         }
         return $this->_repositoryAlias;
     }