aboutsummaryrefslogtreecommitdiffstats
path: root/functions/draw_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-11 21:54:52 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-11 21:54:52 +0000
commit9c705dc135dff435c0cb59dec4ebf3d0d1620d2c (patch)
treea75bce0639c690c95e6d338727d75d1b4c2ad107 /functions/draw_functions.php
parent1c7998281489f86ca209237b8f45e067fa9a674d (diff)
downloadphpicalendar-9c705dc135dff435c0cb59dec4ebf3d0d1620d2c.tar.gz
phpicalendar-9c705dc135dff435c0cb59dec4ebf3d0d1620d2c.tar.bz2
phpicalendar-9c705dc135dff435c0cb59dec4ebf3d0d1620d2c.zip
update lots of files
Diffstat (limited to 'functions/draw_functions.php')
-rw-r--r--functions/draw_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/draw_functions.php b/functions/draw_functions.php
index 2df0f37..20938a9 100644
--- a/functions/draw_functions.php
+++ b/functions/draw_functions.php
@@ -2,8 +2,8 @@
// function returns starttime and endtime and event length for drawing into a grid
function drawEventTimes ($start, $end) {
- global $gridLength;
-
+ global $phpiCal_config;
+ $gridLength = $phpiCal_config->gridLength;
preg_match ('/([0-9]{2})([0-9]{2})/', $start, $time);
$sta_h = $time[1];
$sta_min = $time[2];

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