UltimateModuleCreator / umc

Magento 2 Ultimate Module Creator
MIT License
58 stars 10 forks source link

Wrong condition to generate module . #23

Closed benthunder closed 4 years ago

benthunder commented 5 years ago

{% if entity.hasAttributeType('file') or entity.hasAttributeType('image') %} $this->outputProcessor = $outputProcessor; {% endif %} {% if entity.hasAttributeType('wysiwyg') and (entity.getFrontendView() or entity.getFrontendList()) %} $this->uploaderPool = $uploaderPool; {% endif %}

Line 106 in templates\source\Model\Entity.php.html.twig


Please , remove entity.getFrontendList() in conditional beacause can't check it in frontend .

Sorry for my english .