projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7de7166
)
fixed a few more variable rename issues that were breaking some sql queries
author
Owen Leonard
<owen@balawis.leonard.fam>
Sun, 19 Sep 2010 23:28:53 +0000
(17:28 -0600)
committer
Owen Leonard
<owen@balawis.leonard.fam>
Sun, 19 Sep 2010 23:28:53 +0000
(17:28 -0600)
inc/class.tc.inc.php
patch
|
blob
|
history
diff --git
a/inc/class.tc.inc.php
b/inc/class.tc.inc.php
index f766b1287d26f183f6ae17132a6a74b3669bac0a..409b87e6bf0cd05a0709f1f70a132d26aa42b206 100644
(file)
--- a/
inc/class.tc.inc.php
+++ b/
inc/class.tc.inc.php
@@
-692,7
+692,7
@@
class tc
for ($i=0; $i < count($names); $i++) {
//$this->nextmatchs->template_alternate_row_color(&$this->t);
for ($i=0; $i < count($names); $i++) {
//$this->nextmatchs->template_alternate_row_color(&$this->t);
- $this->t->set_var('indiv_name',$names[$i]);
+ $this->t->set_var('indiv
idual
_name',$names[$i]);
if(($i+1) % 3 == 0) {
$this->t->set_var('table_sep',"</td></tr><tr>");
} else {
if(($i+1) % 3 == 0) {
$this->t->set_var('table_sep',"</td></tr><tr>");
} else {
@@
-734,7
+734,7
@@
class tc
// Re-add the individuals who are checked as having participated in this activity
$indivs = get_var('individual_name',array('POST'));
if(is_array($indivs)) { // Only do the foreach loop if we have a valid array of indivs to work with
// Re-add the individuals who are checked as having participated in this activity
$indivs = get_var('individual_name',array('POST'));
if(is_array($indivs)) { // Only do the foreach loop if we have a valid array of indivs to work with
- foreach ($indivs as $indiv) {
+ foreach ($indivs as $indiv
idual
) {
$this->db->query("INSERT INTO tc_participation (individual,activity) " .
"VALUES (" . $individual . ",". $activity['activity'] . ")",__LINE__,__FILE__);
}
$this->db->query("INSERT INTO tc_participation (individual,activity) " .
"VALUES (" . $individual . ",". $activity['activity'] . ")",__LINE__,__FILE__);
}
@@
-761,7
+761,7
@@
class tc
}
$indivs = get_var('individual_name',array('POST'));
}
$indivs = get_var('individual_name',array('POST'));
- foreach ($indivs as $indiv)
+ foreach ($indivs as $indiv
idual
)
{
$this->db->query("INSERT INTO tc_participation (individual,activity) " .
"VALUES (" . $individual . ",". $activity['activity'] . ")",__LINE__,__FILE__);
{
$this->db->query("INSERT INTO tc_participation (individual,activity) " .
"VALUES (" . $individual . ",". $activity['activity'] . ")",__LINE__,__FILE__);