diff --git a/includes/functions.php b/includes/functions.php index 4e3616d..26dfb14 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -102,10 +102,10 @@ function do_agent_details() { if (genesis_get_custom_field('_agent_fax') != '') $output .= sprintf('

Fax: %s

', genesis_get_custom_field('_agent_fax') ); - if (genesis_get_custom_field('_agent_email') != '') + if (genesis_get_custom_field('_agent_email') != '') { $email = genesis_get_custom_field('_agent_email'); $output .= sprintf('

%s

', antispambot($email), antispambot($email) ); - + } if (genesis_get_custom_field('_agent_website') != '') $output .= sprintf('

', genesis_get_custom_field('_agent_website'), genesis_get_custom_field('_agent_website') ); @@ -203,4 +203,4 @@ function aep_admin_redirect( $page, $query_args = array() ) { wp_redirect( esc_url_raw( $url ) ); -} \ No newline at end of file +}