sage-directives
sage-directives copied to clipboard
@hasfield render argument in wrong place
@hasfield('my_field', 113)
render as
<?php if (get_field('my_field')[113]) : ?>
instead
<?php if (get_field('my_field', 113)) : ?>

@aitormendez do you know if https://github.com/Log1x/sage-directives/pull/68 fixes your issue?
Can be tested with composer patches