summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/account.php2
-rw-r--r--www/wot.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/account.php b/includes/account.php
index 897dca0..8f3d96c 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -182,7 +182,7 @@
{
echo _("You did not select any email accounts for removal.");
}
- if($delcount = 0)
+ if(0 == $delcount)
{
echo _("You failed to select any accounts to be removed, or you attempted to remove the default account. No action was taken.");
}
diff --git a/www/wot.php b/www/wot.php
index 9e41891..e63f3cb 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -228,7 +228,7 @@ $iecho= "c";
exit;
}
- if($_REQUEST['points'] == "")
+ if($_REQUEST['points'] == "" || !is_numeric($_REQUEST['points']))
{
show_page("VerifyData","",_("You must enter the number of points you wish to allocate to this person."));
exit;