diff --git a/src/opnsense/mvc/app/models/OPNsense/IDS/Migrations/M1_0_2.php b/src/opnsense/mvc/app/models/OPNsense/IDS/Migrations/M1_0_2.php index 04a9083a0..d189f2ea9 100644 --- a/src/opnsense/mvc/app/models/OPNsense/IDS/Migrations/M1_0_2.php +++ b/src/opnsense/mvc/app/models/OPNsense/IDS/Migrations/M1_0_2.php @@ -58,7 +58,9 @@ class M1_0_2 extends BaseModelMigration $node->enabled = '0'; // Description can be up to 255 characters, truncate as necessary. $node->description = substr( - $node->description . ' - Old GeoIP rule, disabled by migration', 0, 255 + $node->description . ' - Old GeoIP rule, disabled by migration', + 0, + 255 ); } } diff --git a/src/opnsense/scripts/netflow/lib/__init__.py b/src/opnsense/scripts/netflow/lib/__init__.py index 7aa563469..edaf70d3b 100644 --- a/src/opnsense/scripts/netflow/lib/__init__.py +++ b/src/opnsense/scripts/netflow/lib/__init__.py @@ -56,4 +56,3 @@ class Config(object): for key in kwargs: if hasattr(self, key): setattr(self, key, kwargs[key]) -