{
// Check that URLs have http:// in front of them.
- if (isset($r['url']) && strtolower(substr($r['url'],0,4)) != 'http') {
+ if (isset($r['url']) && strlen(trim($r['url'])) > 0 && strtolower(substr($r['url'],0,4)) != 'http') {
$r['url'] = 'http://'.$r['url'];
}
+ if (isset($r['ticket_url']) && strlen(trim($r['ticket_url'])) > 0 && strtolower(substr($r['ticket_url'],0,4)) != 'http') {
+ $r['ticket_url'] = 'http://'.$r['ticket_url'];
+ }
+ if (isset($r['registration_url']) && strlen(trim($r['registration_url'])) > 0 && strtolower(substr($r['registration_url'],0,4)) != 'http') {
+ $r['registration_url'] = 'http://'.$r['registration_url'];
+ }
// Get Member Category data for this entry
if ($this->postCategories) {