Project

General

Profile

Bug #179

Fatal error in firewall_nat_out.php

Added by Chris Buechler over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
11/24/2009
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

When the only NAT configuration in config.xml is:

<nat>
</nat>

firewall_nat_out.php doesn't load:

Fatal error: Cannot use string offset as an array in /usr/local/www/firewall_nat_out.php on line 49

Associated revisions

Revision c44d3cf7 (diff)
Added by Ermal Luçi over 9 years ago

Resolves #179. Propperly check if this is an array or not. This is required since php 5.+.

History

#1 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Resolved

Patch commited.

#2 Updated by Chris Buechler over 9 years ago

fixed

Also available in: Atom PDF