projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fe127
)
Fixed yearly ppi scheduling tool bug which caused non eqpresppi's to count as yearly...
author
Alan J. Pippin
<ajp@server.pippins.net>
Mon, 17 Mar 2008 02:43:42 +0000
(20:43 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Mon, 17 Mar 2008 02:43:42 +0000
(20:43 -0600)
inc/class.eq.inc.php
patch
|
blob
|
history
diff --git
a/inc/class.eq.inc.php
b/inc/class.eq.inc.php
index ca6b8097d9e69841b87845eeadb668342a8d1ed0..3cbb028716204fbfbbf44a5d94bc1e90c41ba045 100644
(file)
--- a/
inc/class.eq.inc.php
+++ b/
inc/class.eq.inc.php
@@
-1570,7
+1570,7
@@
class eq
// If this elder has had a yearly PPI this year, don't show him on the schedule list
$year_start = $year - 1 . "-12-31"; $year_end = $year + 1 . "-01-01";
$sql = "SELECT * FROM eq_ppi WHERE date > '$year_start' AND date < '$year_end' ".
- "AND elder=" . $id;
+ "AND elder=" . $id
. " AND eqpresppi=1"
;
$this->db2->query($sql,__LINE__,__FILE__);
if(!$this->db2->next_record()) {