diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-14 18:34:05 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-14 18:34:05 +0000 |
commit | f51f39895904deab4303e23a6747b03de2c61844 (patch) | |
tree | 29b9cfadce2eb42da9529070512a803a4052ebdc /usr/local/www/system_advanced_admin.php | |
parent | 915ffd5f8bee9b88a9305f0e5437eb0dae4f613c (diff) | |
download | pfsense-f51f39895904deab4303e23a6747b03de2c61844.zip pfsense-f51f39895904deab4303e23a6747b03de2c61844.tar.gz |
Fix issue reported by http://forum.pfsense.org/index.php/topic,12043.0.html.
Diffstat (limited to 'usr/local/www/system_advanced_admin.php')
-rw-r--r-- | usr/local/www/system_advanced_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php index 76d8db7..ab6cda0 100644 --- a/usr/local/www/system_advanced_admin.php +++ b/usr/local/www/system_advanced_admin.php @@ -78,7 +78,7 @@ if ($_POST) { if($_POST['sshdkeyonly'] == "yes") $config['system']['ssh']['sshdkeyonly'] = "enabled"; - else + else if (isset($config['system']['ssh']['sshdkeyonly'])) unset($config['system']['ssh']['sshdkeyonly']); ob_flush(); |