minor fix in Node.href() to recognize user nodes

This commit is contained in:
hns 2001-02-24 00:40:26 +00:00
parent bf8397634c
commit cae03f5fef

View file

@ -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)