param order wrong on array_search in D_Table::getAliasName()
This commit is contained in:
parent
34ecd30498
commit
f84fce2e5e
@ -527,7 +527,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
final public function getAliasName($alias) {
|
final public function getAliasName($alias) {
|
||||||
if($name = array_search($this->boundAliases,$alias))
|
if($name = array_search($alias, $this->boundAliases))
|
||||||
return $name;
|
return $name;
|
||||||
|
|
||||||
throw new Doctrine_Table_Exception('Unknown alias '.$alias);
|
throw new Doctrine_Table_Exception('Unknown alias '.$alias);
|
||||||
|
Loading…
Reference in New Issue
Block a user