diff options
author | jim-p <jimp@pfsense.org> | 2012-01-06 13:31:28 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-01-06 13:31:28 -0500 |
commit | baa297497b8236cf16f8b7dcc33497c40c08d3c7 (patch) | |
tree | fdedb80bc92ac34544f85e22ae471477ff8774dd /usr/local | |
parent | ff9eda9d9a0d13393ea18f1ae2c825d3d60fc142 (diff) | |
download | pfsense-baa297497b8236cf16f8b7dcc33497c40c08d3c7.zip pfsense-baa297497b8236cf16f8b7dcc33497c40c08d3c7.tar.gz |
Check userid better here, 0 is also valid
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/system_certmanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php index 06a7a59..5820dd1 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(); |