projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug in scheduling table for null individual and/or family
[eq/.git]
/
inc
/
class.tc.inc.php
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) {