summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/addvote.php2
-rw-r--r--web/html/tu.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/addvote.php b/web/html/addvote.php
index f0e7d31a..4b6c5b5e 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'])) {
diff --git a/web/html/tu.php b/web/html/tu.php
index 6e043538..9d4fc508 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -19,7 +19,7 @@ if (isset($_COOKIE["AURSID"])) {
$atype = account_from_sid($_COOKIE["AURSID"]);
}
-if ($atype == "Trusted User" OR $atype == "Developer") {
+if ($atype == "Trusted User" || $atype == "Developer") {
if (isset($_GET['id'])) {
if (is_numeric($_GET['id'])) {
@@ -123,7 +123,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
else
$by = 'desc';
- if (!empty($offset) AND is_numeric($offset)) {
+ if (!empty($offset) && is_numeric($offset)) {
if ($offset >= 1) {
$off = $offset;
} else {