diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-30 14:33:29 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-30 14:33:37 -0300 |
commit | 2344bed478676b498a014dcec618db37e3422fd1 (patch) | |
tree | f278a4652a311ce1935d40e626ec4310b45737b6 /src/usr/local/www/system_advanced_admin.php | |
parent | c580e34c6fe24107817d6a72956e77b23f043beb (diff) | |
download | pfsense-2344bed478676b498a014dcec618db37e3422fd1.zip pfsense-2344bed478676b498a014dcec618db37e3422fd1.tar.gz |
Use product_name global variable in more places
Diffstat (limited to 'src/usr/local/www/system_advanced_admin.php')
-rw-r--r-- | src/usr/local/www/system_advanced_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_advanced_admin.php b/src/usr/local/www/system_advanced_admin.php index edc6334..e98ad4f 100644 --- a/src/usr/local/www/system_advanced_admin.php +++ b/src/usr/local/www/system_advanced_admin.php @@ -474,7 +474,7 @@ $section->addInput(new Form_Input( ))->setHelp('Note: Leave this blank for the default of 22.'); -if (!$g['enableserial_force'] && ($g['platform'] == "pfSense" || $g['platform'] == "cdrom")) +if (!$g['enableserial_force'] && ($g['platform'] == $g['product_name'] || $g['platform'] == "cdrom")) { $form->add($section); $section = new Form_Section('Serial Communications'); |