Bug fix
This commit is contained in:
parent
4a89db8742
commit
f8e2080df6
|
@ -148,6 +148,9 @@ class srvinterface {
|
||||||
foreach ($ast_out as $line) {
|
foreach ($ast_out as $line) {
|
||||||
if (strlen($line) > 3) {
|
if (strlen($line) > 3) {
|
||||||
list ($line, $junk) = explode(' ', $line);
|
list ($line, $junk) = explode(' ', $line);
|
||||||
|
if (!is_bool(strpos($line,':'))) {
|
||||||
|
$line = trim(substr($line, 0, strpos($line, ':')));
|
||||||
|
}
|
||||||
if (isset($ast_key[$line])) {
|
if (isset($ast_key[$line])) {
|
||||||
if (strlen($ast_key[$line]) < 1) {
|
if (strlen($ast_key[$line]) < 1) {
|
||||||
$ast_key[$line] = $line;
|
$ast_key[$line] = $line;
|
||||||
|
|
Loading…
Reference in a new issue