summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_admin.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-30 14:33:29 -0300
committerRenato Botelho <renato@netgate.com>2015-09-30 14:33:37 -0300
commit2344bed478676b498a014dcec618db37e3422fd1 (patch)
treef278a4652a311ce1935d40e626ec4310b45737b6 /src/usr/local/www/system_advanced_admin.php
parentc580e34c6fe24107817d6a72956e77b23f043beb (diff)
downloadpfsense-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.php2
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');
OpenPOWER on IntegriCloud