[Propel1Bridge] Fix "and => &&" CS in ModelChoiceList
This commit is contained in:
parent
2447757a4e
commit
a5530c5d54
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user