propelorm/Propel — pull request #158 by maikg (2011-10-23 22:01:56+00:00)
Title: Fix magic findByXXXAndYYY finders when using related object arguments

When using any of the findByXXXAndYYY and related magic methods, I receive an error when specifying a related object as one of the arguments:

```php
BookQuery::create()->findOneByAuthorAndISBN($author, 1234);
```

This causes the following exception:

```
PropelException: filterByAuthor() only accepts arguments of type Author or PropelCollection
```

This PR should fix that.