summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-08-09 09:29:19 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-08-09 09:29:19 -0400
commitb7117543746bfc19affa35774b7239f5f875c778 (patch)
tree347dc269ee6f982f2eaa389d5945e2ffcdb82d84
parent893957c41481a0cd5eb624096337762ffa54ff28 (diff)
downloadfourisland-b7117543746bfc19affa35774b7239f5f875c778.tar.gz
fourisland-b7117543746bfc19affa35774b7239f5f875c778.tar.bz2
fourisland-b7117543746bfc19affa35774b7239f5f875c778.zip
Fixed quote voting bug
-rwxr-xr-xpages/holidates.php2
-rwxr-xr-xpages/quotes.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/holidates.php b/pages/holidates.php index e5d8860..02b0551 100755 --- a/pages/holidates.php +++ b/pages/holidates.php
@@ -8,7 +8,7 @@
8 4::::4 4::::4 8 4::::4 4::::4
9 4::::4 4::::4 Written and maintained by Starla Insigna 9 4::::4 4::::4 Written and maintained by Starla Insigna
104::::444444::::444 104::::444444::::444
114::::::::::::::::4 header.inc 114::::::::::::::::4 pages/holidates.php
124444444444:::::444 124444444444:::::444
13 4::::4 Please do not use, reproduce or steal the 13 4::::4 Please do not use, reproduce or steal the
14 4::::4 contents of this file without explicit 14 4::::4 contents of this file without explicit
diff --git a/pages/quotes.php b/pages/quotes.php index 4e0332f..4d0b46e 100755 --- a/pages/quotes.php +++ b/pages/quotes.php
@@ -154,7 +154,7 @@ if (isset($_GET['id']) && !(is_numeric($_GET['id'])))
154 { 154 {
155 $settrack = "UPDATE rash_tracking SET vote = \"" . $gettrack3['vote'] . "," . $quote_num . "\" WHERE id = " . $gettrack3['id']; 155 $settrack = "UPDATE rash_tracking SET vote = \"" . $gettrack3['vote'] . "," . $quote_num . "\" WHERE id = " . $gettrack3['id'];
156 } else { 156 } else {
157 $settrack = "INSERT INTO tracking (ip,vote) VALUES (\"" . $_SERVER['REMOTE_ADDR'] . "\",\"" . $quote_num . "\")"; 157 $settrack = "INSERT INTO rash_tracking (ip,vote) VALUES (\"" . $_SERVER['REMOTE_ADDR'] . "\",\"" . $quote_num . "\")";
158 } 158 }
159 $settrack2 = mysql_query($settrack) or die($settrack); 159 $settrack2 = mysql_query($settrack) or die($settrack);
160 160