X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;h=2ba160b6e96ef975fee667f0e94478be0876ae0e;hb=c72d1e908d58ff45e6f332093028899e9d89a656;hp=a5e3138315ffe8938fe390b86d3a5a0180f3fff8;hpb=a9171dd4976295aaa97b29e035a0dbf594a438cc;p=eq%2F.git diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index a5e3138..2ba160b 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -3522,7 +3522,7 @@ class tc $this->t->set_var('schedule_ppi_link',$GLOBALS['phpgw']->link('/tc/index.php','menuaction=tc.tc.ppi_sched')); $this->t->set_var('schedule_ppi_link_title','Schedule Yearly PPIs'); - $date_width=150; $time_width=220; $indiv_width=170; $family_width=180; $location_width=100; + $date_width=160; $time_width=220; $indiv_width=170; $family_width=180; $location_width=100; $table_width=$date_width + $time_width + $indiv_width + $family_width + $location_width; $header_row = "Date"; $header_row.= "Time"; @@ -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) {