Skip to content
Permalink
Browse files

Base model class no longer changes an already defined schemaName value

  • Loading branch information...
Joseph Woodruff
Joseph Woodruff committed Apr 2, 2014
1 parent 9971545 commit d526fdadc1de0f612dfc291f7d391f02a6d3a056
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Model.php
@@ -3485,7 +3485,7 @@ public function setDataSource($dataSource = null) {
$this->tablePrefix = $db->config['prefix'];
}
$this->schemaName = $db->getSchemaName();
$this->schemaName = (empty($this->schemaName) ? $db->getSchemaName() : $this->schemaName);
}
/**

0 comments on commit d526fda

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