• Franco Fichtner's avatar
    mvc: try to fix crash report · a14da189
    Franco Fichtner authored
    Seems like years ago when PHP 5.5 had trouble iterating non-
    existing arrays PHP 7 introduced a new problem with nodes
    that seem to be set but no longer available, yielding:
    
        PHP Warning:  OPNsense\Base\FieldTypes\InterfaceField::eventPostLoading():
          Node no longer exists in /usr/local/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/InterfaceField.php on line 132
    
    The same thing happened in the acme-client plugin and was
    allegedly fixed with the following code.  Even if this doesn't
    help it is harmless and we'll see through the crash reporter
    soon enough.
    a14da189
Name
Last commit
Last update
Keywords Loading commit data...
Mk Loading commit data...
Scripts Loading commit data...
contrib Loading commit data...
src Loading commit data...
work Loading commit data...
+POST_INSTALL Loading commit data...
+PRE_DEINSTALL Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
plist Loading commit data...
ruleset.xml Loading commit data...