diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index 9c85cc872..3cbaccb0d 100644 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -2796,7 +2796,7 @@ class Attribute extends AppModel ) ) ); - if ($options['includeProposals']) { + if (!empty($options['includeProposals'])) { $this->bindModel( array('hasMany' => array( 'ShadowAttribute' => array(