aboutsummaryrefslogtreecommitdiffstats
path: root/functions/date_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2007-10-12 06:41:33 +0000
committerJim Hu <jimhu@users.sourceforge.net>2007-10-12 06:41:33 +0000
commitb2b80439dfb4078a003b0a768c634b50759ddcb0 (patch)
tree999fce06df2493b1a0f090c2e97f72ba59602913 /functions/date_functions.php
parent86d615c773ff5cddb28d24064157b94d61695ac4 (diff)
downloadphpicalendar-b2b80439dfb4078a003b0a768c634b50759ddcb0.tar.gz
phpicalendar-b2b80439dfb4078a003b0a768c634b50759ddcb0.tar.bz2
phpicalendar-b2b80439dfb4078a003b0a768c634b50759ddcb0.zip
deal with various unset variable warning situations
Diffstat (limited to 'functions/date_functions.php')
-rw-r--r--functions/date_functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php
index 83e51af..0e2dca4 100644
--- a/functions/date_functions.php
+++ b/functions/date_functions.php
@@ -236,6 +236,7 @@ function extractDateTime($data, $property, $field) {
// Set the values.
$unixtime = strtotime($data);
$date = date('Ymd', $unixtime);
+ $time = '';
$allday = $data;
}

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