Skip to content
Permalink
Browse files

Update TableRegistry::get() options merge strategy

  • Loading branch information...
codeguy committed Jun 16, 2015
1 parent 839a2be commit 803b0b769d37a71d063fa162a1e4256291c87941
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/TableRegistry.php
@@ -184,7 +184,7 @@ public static function get($alias, array $options = [])
}
if (isset(static::$_config[$alias])) {
$options = array_merge($options, static::$_config[$alias]);
$options = static::$_config[$alias] + $options;
}
if (empty($options['connection'])) {
$connectionName = $options['className']::defaultConnectionName();

0 comments on commit 803b0b7

Please sign in to comment.
You can’t perform that action at this time.