Minor skinmanager code fix

This commit is contained in:
hns 2001-03-22 15:44:31 +00:00
parent bf72cbe440
commit b4e8ff87fe

View file

@ -684,7 +684,7 @@ public class RequestEvaluator implements Runnable {
Skin skin = null;
// FIXME: we can't do that, because if no db skinmanager exists we'll query over and over again
if (skinManager == null) {
skinManager = currentNode.getNode ("skinmanager", true);
skinManager = currentNode == null ? null : currentNode.getNode ("skinmanager", true);
// System.err.println ("SKINMGR: "+skinManager);
// mark as null
if (skinManager == null)