Skip to content

Commit

Permalink
Add pluginSplit to TableRegistry::config()
Browse files Browse the repository at this point in the history
  • Loading branch information
Berry Goudswaard committed Nov 19, 2014
1 parent c73e374 commit 2b764fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ORM/TableRegistry.php
Expand Up @@ -99,6 +99,7 @@ class TableRegistry {
* @throws RuntimeException When you attempt to configure an existing table instance.
*/
public static function config($alias = null, $options = null) {
list(, $alias) = pluginSplit($alias);
if ($alias === null) {
return static::$_config;
}
Expand Down

0 comments on commit 2b764fe

Please sign in to comment.