Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.3.3
-
None
Description
When adding a new location eZ Legacy admin there is no icon available.
problem is in ezwordtoimageoperator.php with item $sizes[0]
fixed using php "reset" function to retrieve first element of $sizes array because $sizes[0] is not always set
ex. in ezpublish_legacy/share/icons/crystal-admin/icon.ini
[IconSettings]
# Defined sizes, each size refers to the name of the subdirectory
# of the icon theme. If the name contains two numbers with an
# x in between it will be considered to be the width and height
# of the icon, if not no size is will be given
Sizes[]
Sizes[normal]=32x32
Sizes[small]=16x16_indexed
Sizes[ghost]=16x16_ghost
Sizes[original]=16x16_original
see. https://github.com/Adcaelo/ezpublish-legacy/commit/e7b63206b25766db03c38acb68603d66914d6528