[Propel1Bridge] Fix "and => &&" CS in ModelChoiceList

This commit is contained in:
Igor Wiedler 2012-12-13 23:51:22 +01:00
parent 2447757a4e
commit a5530c5d54

View File

@ -345,7 +345,7 @@ class ModelChoiceList extends ObjectChoiceList
}
// readonly="true" models do not implement Persistent.
if ($model instanceof BaseObject and method_exists($model, 'getPrimaryKey')) {
if ($model instanceof BaseObject && method_exists($model, 'getPrimaryKey')) {
return array($model->getPrimaryKey());
}