diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-11-23 17:56:27 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-11-23 17:56:27 +0000 |
commit | 20f644e04a04a3b175692332403ba17ed41c68aa (patch) | |
tree | 096b4f071932a09b98220ebc15a4ecedac7c3d5d /includes/event.php | |
parent | 53c6aee874980d254136c9e6c37a40e3528358b8 (diff) | |
download | phpicalendar-20f644e04a04a3b175692332403ba17ed41c68aa.tar.gz phpicalendar-20f644e04a04a3b175692332403ba17ed41c68aa.tar.bz2 phpicalendar-20f644e04a04a3b175692332403ba17ed41c68aa.zip |
Updated to not hyperlink url if not present.
Diffstat (limited to 'includes/event.php')
-rw-r--r-- | includes/event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/event.php b/includes/event.php index 05cd892..ffa0308 100644 --- a/includes/event.php +++ b/includes/event.php @@ -58,7 +58,7 @@ if ($status) { $display .= $status_lang . ' - ' . $status. '<br>' . "\n"; } if ($location) { - if (isset($url)) $location = '<a href="'.$url.'" target="_blank">'.$location.'</a>'; + if ($url != '') $location = '<a href="'.$url.'" target="_blank">'.$location.'</a>'; $display .= $location_lang . ' - ' . $location.'<br>'; } $sheet_href = BASE.'styles/'.$style_sheet.'/default.css'; |