Actions
Bug #127
closedEmpty config entries returned as array
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/02/2009
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
I've seen this pop up in many text boxes of the web interface, for instance by browsing to Interfaces -> WAN, with this config:
<wan>
<if>vr0</if>
<mtu>
</mtu>
<ipaddr>dhcp</ipaddr>
<subnet>
</subnet>
<gateway>
</gateway>
<blockbogons/>
<dhcphostname>
</dhcphostname>
<media>
</media>
<mediaopt>
</mediaopt>
<bandwidth>100</bandwidth>
<bandwidthtype>Mb</bandwidthtype>
</wan>
MTU box shows:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/www/interfaces.php on line 820
Hostname box shows:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/www/interfaces.php on line 948
It also shows up in many other places.
Actions