projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73234a
)
Fixed bug in querying eqpres PPI history in scheduling tool.
release_0_3_1
author
Alan J. Pippin
<ajp@server.pippins.net>
Mon, 7 Jul 2008 04:52:46 +0000
(22:52 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Mon, 7 Jul 2008 04:52:46 +0000
(22:52 -0600)
inc/class.eq.inc.php
patch
|
blob
|
history
diff --git
a/inc/class.eq.inc.php
b/inc/class.eq.inc.php
index dd8cff777d6393019e1a1a319dee087b0a991949..7f0d5a6e887671fb744d508cd3468d9b6aaf1508 100644
(file)
--- a/
inc/class.eq.inc.php
+++ b/
inc/class.eq.inc.php
@@
-1599,7
+1599,7
@@
class eq
$this->db2->query($sql,__LINE__,__FILE__);
if(!$this->db2->next_record()) {
- $sql = "SELECT * FROM eq_ppi WHERE elder=" . $id . " ORDER BY date DESC";
+ $sql = "SELECT * FROM eq_ppi WHERE elder=" . $id . "
AND eqpresppi=1
ORDER BY date DESC";
$this->db->query($sql,__LINE__,__FILE__);
if($this->db->next_record()) { $date = $this->db->f('date'); } else { $date = ""; }
$link_data['menuaction'] = 'eq.eq.ppi_update';