summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_certmanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_certmanager.php')
-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 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();
OpenPOWER on IntegriCloud