Skip to content

Commit d7ce493

Browse files
committed
Merge branch '3.1/develop' into 3.2/develop
2 parents 49ee952 + 005ecf1 commit d7ce493

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

classes/kohana/database.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ protected function __construct($name, array $config)
113113
// Store the config locally
114114
$this->_config = $config;
115115

116+
if (empty($this->_config['table_prefix']))
117+
{
118+
$this->_config['table_prefix'] = '';
119+
}
120+
116121
// Store the database instance
117122
Database::$instances[$name] = $this;
118123
}

0 commit comments

Comments
 (0)