minor fix in Node.href() to recognize user nodes
This commit is contained in:
parent
bf8397634c
commit
cae03f5fef
1 changed files with 3 additions and 1 deletions
|
@ -1724,8 +1724,10 @@ public class Node implements INode, Serializable {
|
|||
b.insert (0, divider);
|
||||
b.insert (0, UrlEncoder.encode (p.getNameOrID ()));
|
||||
|
||||
if (p.getParent () == userroot)
|
||||
if ("user".equals (p.getPrototype ())) {
|
||||
b.insert (0, "users"+divider);
|
||||
break;
|
||||
}
|
||||
p = p.getParent ();
|
||||
|
||||
if (loopWatch++ > 10)
|
||||
|
|
Loading…
Add table
Reference in a new issue