summary refs log tree commit diff stats
path: root/pages/quotes.php
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 /pages/quotes.php
parent893957c41481a0cd5eb624096337762ffa54ff28 (diff)
downloadfourisland-b7117543746bfc19affa35774b7239f5f875c778.tar.gz
fourisland-b7117543746bfc19affa35774b7239f5f875c778.tar.bz2
fourisland-b7117543746bfc19affa35774b7239f5f875c778.zip
Fixed quote voting bug
Diffstat (limited to 'pages/quotes.php')
-rwxr-xr-xpages/quotes.php2
1 files changed, 1 insertions, 1 deletions
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