Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
class name is never false now
It's always set in the constructor
  • Loading branch information
AD7six committed Feb 14, 2015
1 parent 3571fdc commit 1cb55a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Association.php
Expand Up @@ -275,7 +275,7 @@ public function target(Table $table = null)
return $this->_targetTable = $table;
}

if ($this->_className && strpos($this->_className, '\\') === false) {
if (strpos($this->_className, '\\') === false) {
$tableAlias = $this->_className;
} else {
$tableAlias = $this->_name;
Expand Down

0 comments on commit 1cb55a0

Please sign in to comment.