mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
Merge pull request #2598 from mike-esokia/PHRAS-1051_fix_delete_icon_status
PHRAS-1051 fix delete function for status icons
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user