From 4e9e3b98b39d7460f551714a3602afa0353b90b5 Mon Sep 17 00:00:00 2001 From: jeb228 Date: Wed, 26 Jan 2011 18:54:39 +0000 Subject: [PATCH] NIHVIVO-1920 return statement was missing, allowing the logic to "fall through" to the next test. --- .../webapp/auth/identifier/SelfEditingIdentifierFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/auth/identifier/SelfEditingIdentifierFactory.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/auth/identifier/SelfEditingIdentifierFactory.java index 3e3c15bde..5ba828ffd 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/auth/identifier/SelfEditingIdentifierFactory.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/auth/identifier/SelfEditingIdentifierFactory.java @@ -130,6 +130,7 @@ public class SelfEditingIdentifierFactory implements IdentifierBundleFactory { if (uri == null) { log.debug("Could not find an Individual with a netId of " + username); + return null; } Individual ind = indDao.getIndividualByURI(uri);