summaryrefslogtreecommitdiff
path: root/www/wot.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-06-09 20:56:08 +0200
committerBenny Baumann <BenBE@geshi.org>2013-06-09 20:56:08 +0200
commite618f6d3540fe5a11e4f7bebe58c0fb894ed373f (patch)
treefce3c9c0716fd33a4491b2f03d4973e312f7d771 /www/wot.php
parentc8e4cfd43b3c6111a34ac9deb313acc78a46a376 (diff)
parenta6fee6fa9a8d65a2b955e009be9003006fc47a57 (diff)
downloadcacert-devel-e618f6d3540fe5a11e4f7bebe58c0fb894ed373f.tar.gz
cacert-devel-e618f6d3540fe5a11e4f7bebe58c0fb894ed373f.tar.xz
cacert-devel-e618f6d3540fe5a11e4f7bebe58c0fb894ed373f.zip
Merge branch 'bug-1137' into testserver-stable
Conflicts: pages/wot/6.php www/wot.php
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 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);