TreeDataItem set_image method

TreeDataItem 's set_image method is not working properly if it is used with 3 parameters. It always shows the fist image ($img1) in any state of the tree’s item.

$dataItem->set_image($img1,$img2,$img3)

Parameters:
$img1 - image of folder in opened state
$img2 - image of folder in closed state
$img3 - image of leaf item

anyone know how to fix it ?

This seems to be a bug in file

tree_connector.php

function

to_xml_start()

change this lines

to

Changes in red color.

Best regards
Gregor Weissenborn

Yep, there was a problem. Thanks for provided info.
Next version of package will contain the above fix.