summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/wot.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/wot.php b/www/wot.php
index 1cc495b..62496f2 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -300,6 +300,12 @@ $iecho= "c";
exit;
}
+ if($_REQUEST['points'] <0 || ($_REQUEST['points']>35))
+ {
+ show_page("VerifyData","",_("The number of points you entered are out of the range given by policy."));
+ exit;
+ }
+
$query = "select * from `users` where `id`='".$_SESSION['_config']['notarise']['id']."'";
$res = mysql_query($query);
$row = mysql_fetch_assoc($res);