Removed htmlspecialchars when loading leases from config

(cherry picked from commit 2322e9f3cb)
This commit is contained in:
Yoann Lecuyer 2017-05-18 15:48:35 -05:00 committed by Renato Botelho
parent afe8afac75
commit b4ff414aef

View File

@ -325,8 +325,8 @@ foreach ($config['interfaces'] as $ifname => $ifarr) {
$slease['if'] = $ifname;
$slease['start'] = "";
$slease['end'] = "";
$slease['hostname'] = htmlentities($static['hostname']);
$slease['descr'] = htmlentities($static['descr']);
$slease['hostname'] = $static['hostname'];
$slease['descr'] = $static['descr'];
$slease['act'] = $static_string;
$slease['online'] = in_array(strtolower($slease['mac']), $arpdata_mac) ? $online_string : $offline_string;
$slease['staticmap_array_index'] = $idx;