X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;fp=inc%2Fclass.tc.inc.php;h=2ba160b6e96ef975fee667f0e94478be0876ae0e;hb=c72d1e908d58ff45e6f332093028899e9d89a656;hp=45d012e649d8724e0d6dde2dc320dbb3cc91fc50;hpb=7bb723fd27b007ab4f83131542012aee588625aa;p=eq%2F.git 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) {