aboutsummaryrefslogtreecommitdiffstats
path: root/includes/event.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-23 17:56:27 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-23 17:56:27 +0000
commit20f644e04a04a3b175692332403ba17ed41c68aa (patch)
tree096b4f071932a09b98220ebc15a4ecedac7c3d5d /includes/event.php
parent53c6aee874980d254136c9e6c37a40e3528358b8 (diff)
downloadphpicalendar-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.php2
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';

© 2014-2024 Faster IT GmbH | imprint | privacy policy