Skip to content

Commit

Permalink
Not sure if this is PHP 7 specific or not, but had to encapsulate the…
Browse files Browse the repository at this point in the history
… $row["Field'] with braces in order to get it to work correctly.

Fixed #914
  • Loading branch information
Scott Milliken committed Jun 15, 2017
1 parent 2cba327 commit 9d6bb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ajax_tooltip.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@
end:
default:
if(isset($_POST['cdu'])){
@$tooltip.=__($row["Label"]).": ".$pdu->$row["Field"]."<br>\n";
@$tooltip.=__($row["Label"]).": ".$pdu->{$row["Field"]}."<br>\n";
}else{
@$tooltip.=__($row["Label"]).": ".$dev->$row["Field"]."<br>\n";
@$tooltip.=__($row["Label"]).": ".$dev->{$row["Field"]}."<br>\n";
}
}
}
Expand Down

0 comments on commit 9d6bb46

Please sign in to comment.