From 345b3216c87c7b365916e5948ad3bdb1bb045016 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Wed, 23 May 2012 13:26:34 -0400 Subject: Be consistent in PHP logical operator usage A mix of logical operator styles are currently in use. The predominant style uses "&&" and "||" instead of "and" and "or", respectively. This inconsistency is minor, but is easily avoided. Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/addvote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/addvote.php') diff --git a/web/html/addvote.php b/web/html/addvote.php index f0e7d31..4b6c5b5 100644 --- a/web/html/addvote.php +++ b/web/html/addvote.php @@ -13,7 +13,7 @@ if (isset($_COOKIE["AURSID"])) { $atype = ""; } -if ($atype == "Trusted User" OR $atype == "Developer") { +if ($atype == "Trusted User" || $atype == "Developer") { $dbh = db_connect(); if (!empty($_POST['addVote'])) { -- cgit v1.2.3-54-g00ecf