mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
fix missing icons after previous commit
This commit is contained in:
parent
7a93814c25
commit
16d02a856c
@ -297,7 +297,7 @@ class Tree extends Etemplate\Widget
|
|||||||
{
|
{
|
||||||
$form_name = self::form_name($cname, $this->id);
|
$form_name = self::form_name($cname, $this->id);
|
||||||
|
|
||||||
if (!empty($this->attrs['image_path']) && ($templated_path = self::templateImagePath($this->attrs['image_path'])) != $this->attrs['image_path'])
|
if (($templated_path = self::templateImagePath($this->attrs['image_path'] ?? null)) !== ($this->attrs['image_path'] ?? null))
|
||||||
{
|
{
|
||||||
self::setElementAttribute($form_name, 'image_path', $this->attrs['image_path'] = $templated_path);
|
self::setElementAttribute($form_name, 'image_path', $this->attrs['image_path'] = $templated_path);
|
||||||
//error_log(__METHOD__."() setting templated image-path for $form_name: $templated_path");
|
//error_log(__METHOD__."() setting templated image-path for $form_name: $templated_path");
|
||||||
|
Loading…
Reference in New Issue
Block a user