summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-11-23 19:21:36 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-11-23 19:21:36 +0100
commitf6387253b47fc994d5c03c9b8e4a47a0bce5c6b9 (patch)
treee1ac59e58cf1275e6c6b8d5c21fa401198d29aeb /web
parente936dc9770b25e952c597415816ef5e17d350206 (diff)
downloadaur-f6387253b47fc994d5c03c9b8e4a47a0bce5c6b9.tar.gz
aur-f6387253b47fc994d5c03c9b8e4a47a0bce5c6b9.tar.xz
tu.php: Remove trailing whitespace.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/html/tu.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/tu.php b/web/html/tu.php
index a115c587..d78fe951 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -27,12 +27,12 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
$dbh = db_connect();
$results = db_query($q, $dbh);
$row = mysql_fetch_assoc($results);
-
+
if (empty($row)) {
print __("Could not retrieve proposal details.");
} else {
$isrunning = $row['End'] > time() ? 1 : 0;
-
+
$qvoted = "SELECT * FROM TU_Votes WHERE ";
$qvoted.= "VoteID = " . $row['ID'] . " AND ";
$qvoted.= "UserID = " . uid_from_sid($_COOKIE["AURSID"]);
@@ -85,7 +85,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
$errorvote = __("You've already voted for this proposal.");
# Update if they voted
$hasvoted = mysql_num_rows(db_query($qvoted, $dbh));
-
+
$results = db_query($q, $dbh);
$row = mysql_fetch_assoc($results);
}
@@ -98,7 +98,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
} else {
$dbh = db_connect();
-
+
$limit = $pp;
if (isset($_GET['off']))
$offset = $_GET['off'];