projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb723f
)
Fixed bug in scheduling table for null individual and/or family
author
Alan Pippin
<apippin@pippins.net>
Fri, 1 Oct 2010 20:22:32 +0000
(14:22 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Fri, 1 Oct 2010 20:22:32 +0000
(14:22 -0600)
inc/class.tc.inc.php
patch
|
blob
|
history
diff --git
a/inc/class.tc.inc.php
b/inc/class.tc.inc.php
index 45d012e649d8724e0d6dde2dc320dbb3cc91fc50..2ba160b6e96ef975fee667f0e94478be0876ae0e 100644
(file)
--- 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) {