diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-08-09 09:29:19 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-08-09 09:29:19 -0400 |
commit | b7117543746bfc19affa35774b7239f5f875c778 (patch) | |
tree | 347dc269ee6f982f2eaa389d5945e2ffcdb82d84 /pages | |
parent | 893957c41481a0cd5eb624096337762ffa54ff28 (diff) | |
download | fourisland-b7117543746bfc19affa35774b7239f5f875c778.tar.gz fourisland-b7117543746bfc19affa35774b7239f5f875c778.tar.bz2 fourisland-b7117543746bfc19affa35774b7239f5f875c778.zip |
Fixed quote voting bug
Diffstat (limited to 'pages')
-rwxr-xr-x | pages/holidates.php | 2 | ||||
-rwxr-xr-x | pages/quotes.php | 2 |
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 |
10 | 4::::444444::::444 | 10 | 4::::444444::::444 |
11 | 4::::::::::::::::4 header.inc | 11 | 4::::::::::::::::4 pages/holidates.php |
12 | 4444444444:::::444 | 12 | 4444444444:::::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 | ||