From b7117543746bfc19affa35774b7239f5f875c778 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 9 Aug 2009 09:29:19 -0400 Subject: Fixed quote voting bug --- pages/holidates.php | 2 +- pages/quotes.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pages') 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 @@ 4::::4 4::::4 4::::4 4::::4 Written and maintained by Starla Insigna 4::::444444::::444 -4::::::::::::::::4 header.inc +4::::::::::::::::4 pages/holidates.php 4444444444:::::444 4::::4 Please do not use, reproduce or steal the 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']))) { $settrack = "UPDATE rash_tracking SET vote = \"" . $gettrack3['vote'] . "," . $quote_num . "\" WHERE id = " . $gettrack3['id']; } else { - $settrack = "INSERT INTO tracking (ip,vote) VALUES (\"" . $_SERVER['REMOTE_ADDR'] . "\",\"" . $quote_num . "\")"; + $settrack = "INSERT INTO rash_tracking (ip,vote) VALUES (\"" . $_SERVER['REMOTE_ADDR'] . "\",\"" . $quote_num . "\")"; } $settrack2 = mysql_query($settrack) or die($settrack); -- cgit 1.4.1