Project

General

Profile

Actions

Bug #2796

closed

PHP error on status_upnp.php

Added by Phil Lavin almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
02/05/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All

Description

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

Fix is to change line 66 to the following:

if(!$config['installedpackages'] || !$config['installedpackages']['miniupnpd']['config'][0]['iface_array']

Do check the logic of that as I'm assuming that having no packages installed means UPNP will be disabled.

Actions #1

Updated by Renato Botelho almost 9 years ago

  • Status changed from New to Feedback
  • Target version set to 2.1
  • % Done changed from 0 to 100

Pull request 378 merged

Actions #2

Updated by Renato Botelho almost 9 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF