sage-directives icon indicating copy to clipboard operation
sage-directives copied to clipboard

@hasfield render argument in wrong place

Open aitormendez opened this issue 4 years ago • 1 comments

@hasfield('my_field', 113)

render as

<?php if (get_field('my_field')[113]) : ?>

instead

<?php if (get_field('my_field', 113)) : ?>

Captura de pantalla 2021-08-07 a las 18 42 19

aitormendez avatar Aug 07 '21 16:08 aitormendez

@aitormendez do you know if https://github.com/Log1x/sage-directives/pull/68 fixes your issue?

Can be tested with composer patches

EHLOVader avatar Dec 16 '21 15:12 EHLOVader