From 7425c87bef088b1d9eb0866ff0239e515b18cf67 Mon Sep 17 00:00:00 2001 From: Sascha Rommelfangen Date: Mon, 26 Nov 2018 16:07:39 +0100 Subject: [PATCH] fix: [freetext] fix notice on freetext import --- app/Model/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(