www/adiumxtras.com 32:63b6b90cbe26: Syntax error I introduced.

commits at adium.im commits at adium.im
Fri Dec 2 17:50:56 UTC 2011


details:	http://hg.adium.im/www/adiumxtras.com/rev/63b6b90cbe26
revision:	32:63b6b90cbe26
branch:		adiumxtras.com
author:		Zachary West <zacw at adium.im>
date:		Fri Dec 02 12:50:51 2011 -0500

Syntax error I introduced.

diffs (12 lines):

diff -r bb74074dac8b -r 63b6b90cbe26 xtras.php
--- a/xtras.php	Fri Dec 02 12:49:54 2011 -0500
+++ b/xtras.php	Fri Dec 02 12:50:51 2011 -0500
@@ -56,7 +56,7 @@
 				$sql->query("INSERT INTO ratings (rating, ip, ts, xtra_id) VALUES ('%d', '%s', NOW(), '%d')", intval($_GET['rating']), $_SERVER['REMOTE_ADDR'], intval($_GET['xtra_id']));
 				$sql->query("UPDATE xtras SET ranking='%lf' WHERE xtra_id='%d'", (avgRating(intval($_GET['xtra_id'])) - 3) * log10(voteCount(intval($_GET['xtra_id']))), intval($_GET['xtra_id']));
 				if ($_GET['html']) {
-					$smarty->assign("xtraid", intval($_GET['xtra_id']);)
+					$smarty->assign("xtraid", intval($_GET['xtra_id']));
 					$smarty->assign("vote", intval($_GET['rating']));
 					$smarty->assign("rating", avgRating(intval($_GET["xtra_id"])));
 					$smarty->assign("votes", voteCount(intval($_GET["xtra_id"])));




More information about the commits mailing list