From: Alan Pippin Date: Fri, 1 Oct 2010 20:22:32 +0000 (-0600) Subject: Fixed bug in scheduling table for null individual and/or family X-Git-Tag: release_1_0_0~4 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/%7Blink_activity%7D?a=commitdiff_plain;h=c72d1e908d58ff45e6f332093028899e9d89a656;p=eq%2F.git Fixed bug in scheduling table for null individual and/or family --- diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index 45d012e..2ba160b 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -3573,6 +3573,10 @@ class tc $time = $hour.':'.$minute.':'.'00'; $uid = 0; + // Zero out family or individual if they are invalid + if($indiv == "") { $indiv=0; } + if($family == "") { $family=0; } + // Update our location if($location == "") { if($family > 0) {