summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-01-06 13:31:28 -0500
committerjim-p <jimp@pfsense.org>2012-01-06 13:33:40 -0500
commitb5692e0fd2fbbfb5e1264c1c76832285c9135588 (patch)
tree4fcaffba25ce181688619931baf136ca7120770c /usr/local/www
parentbed993555a32b1ad6a2755ea33f022134146ba64 (diff)
downloadpfsense-b5692e0fd2fbbfb5e1264c1c76832285c9135588.zip
pfsense-b5692e0fd2fbbfb5e1264c1c76832285c9135588.tar.gz
Check userid better here, 0 is also valid
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/system_certmanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php
index 54e9b8d..a92c3cd 100644
--- a/usr/local/www/system_certmanager.php
+++ b/usr/local/www/system_certmanager.php
@@ -56,7 +56,7 @@ $pgtitle = array(gettext("System"), gettext("Certificate Manager"));
$userid = $_GET['userid'];
if (isset($_POST['userid']))
$userid = $_POST['userid'];
-if ($userid) {
+if (is_numeric($userid)) {
$cert_methods["existing"] = gettext("Choose an existing certificate");
if (!is_array($config['system']['user']))
$config['system']['user'] = array();
OpenPOWER on IntegriCloud