pods-framework/pods — pull request #916 by MattiasBuelens (2012-12-28 23:18:03+00:00)
Title: Missing operator when comparing against a singular value in a Pods->find where clause

When calling `Pods->find()` with a where clause involving a comparison against a singular value (i.e. not an array of values), the `$where['compare']` is not concatenated into the resulting SQL, producing an SQL parse error.

Code snippet to reproduce this bug in the current version:
```php
$pod = pods('mypod');
$pod->find(array(
'where' => array(
'somefield' => 'somevalue'
)
));
```
Expected result:
* The pod records with field `somefield` equal to `somevalue` are retrieved in `$pod`.

Actual result:
* An SQL parse error is thrown.

This one-line change fixes the error, resulting in valid SQL and proper record retrieval.