What's new

Welcome to xCrud Community - Data Management and extended PHP CRUD

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

BUG Tree-symbol in relation-function

didi

New member
Joined
Mar 30, 2024
Messages
1
Reaction score
0
Points
1
Location
Germany
In xcrud.php the function relation has an option to view the items in a tree.
The Symbol that shows the nodes in the tree is not well coded.
This is the part of code that renders the tree-node:

PHP:
 protected function resort_relation_opts($options, $rel);
....
if ($out)
   $out .= ' â”” ';
....

It can be changed to

PHP:
 protected function resort_relation_opts($options, $rel);
....
if ($out)
   $out .= ' └ ';
....
 
Top Bottom