// if it's a match then send the email
if ($rand_total == $rand_post_total) {
cp_contact_ad_owner_email($post->ID);
$msg = '<p class="green center"><strong>' . __('Your message has been sent!', 'appthemes') . '</strong></p>';
} else {
$msg = '<p class="red center"><strong>' . __('ERROR: Incorrect captcha answer', 'appthemes') . '</strong></p>';
}
}
cp_contact_ad_owner_email($post->ID);
There are currently 1 users browsing this thread. (0 members and 1 guests)