From 99b0d50d7109f5ef8ba964c354a6ec278832ae92 Mon Sep 17 00:00:00 2001 From: stefanp Date: Fri, 22 Nov 2002 11:37:29 +0000 Subject: [PATCH] don't add hopobject as a parent prototype to global --- src/helma/doc/DocPrototype.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/doc/DocPrototype.java b/src/helma/doc/DocPrototype.java index 44981149..336f83d9 100644 --- a/src/helma/doc/DocPrototype.java +++ b/src/helma/doc/DocPrototype.java @@ -56,7 +56,7 @@ public class DocPrototype extends DocDirElement { parentPrototype = (DocPrototype) parent.getChildElement ("prototype_" + ext); } } - if (parentPrototype==null && parent!=null) { + if (parentPrototype==null && parent!=null && !name.equals("global")) { // if no _extend was set, get the hopobject prototype parentPrototype = (DocPrototype) parent.getChildElement ("prototype_hopobject"); }