<?php if(trim(urldecode(bpr_field($feat['locales']))) != '') { ?>
<?php if(isset($feat['locales']) && trim(urldecode(bpr_field($feat['locales']))) != '') { ?>