fix delete icon function on status

This commit is contained in:
mike-esokia
2018-05-18 10:40:10 +04:00
committed by Mike Ng
parent 1dcc579cfe
commit ecced3d583

View File

@@ -220,13 +220,13 @@ class XmlStatusStructureProvider implements StatusStructureProviderInterface
$status['searchable'] = (Boolean) $properties['searchable']; $status['searchable'] = (Boolean) $properties['searchable'];
$status['printable'] = (Boolean) $properties['printable']; $status['printable'] = (Boolean) $properties['printable'];
if (!isset($properties['img_on'])) { // if (!isset($properties['img_on'])) {
$status['img_on'] = null; // $status['img_on'] = null;
} // }
//
if (!isset($properties['img_off'])) { // if (!isset($properties['img_off'])) {
$status['img_off'] = null; // $status['img_off'] = null;
} // }
$statusStructure->setStatus($bit, $status); $statusStructure->setStatus($bit, $status);