summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_firmware_settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/system_firmware_settings.php')
-rw-r--r--src/usr/local/www/system_firmware_settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_firmware_settings.php b/src/usr/local/www/system_firmware_settings.php
index aaf9089..e9f576c 100644
--- a/src/usr/local/www/system_firmware_settings.php
+++ b/src/usr/local/www/system_firmware_settings.php
@@ -183,7 +183,7 @@ $section->addInput(new Form_Checkbox(
$form->add($section);
-if(file_exists("/usr/local/bin/git") && $g['platform'] == "pfSense") {
+if(file_exists("/usr/local/bin/git") && $g['platform'] == $g['product_name']) {
$section = new Form_Section('GitSync');
$section->addInput(new Form_Checkbox(
@@ -257,4 +257,4 @@ update_firmwareurl();
</script>
<?php
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud