summaryrefslogtreecommitdiff
path: root/www/wot.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wot.php')
-rw-r--r--www/wot.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/wot.php b/www/wot.php
index a470b96..e35bdb0 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -266,6 +266,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);