summaryrefslogtreecommitdiffstats
path: root/idrop-lite
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2012-03-26 20:32:46 (GMT)
committer LISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2012-03-26 20:32:46 (GMT)
commit48144f3787d8343f8b8b534734c33045129cd2cb (patch)
tree29f225c0aadb99c35cc4d62dc231aec45da5806e /idrop-lite
parenta9cd4ba917e65aa0403795741de4a86ffee5e9d4 (diff)
downloadQCG-Data-48144f3787d8343f8b8b534734c33045129cd2cb.zip
QCG-Data-48144f3787d8343f8b8b534734c33045129cd2cb.tar.gz
QCG-Data-48144f3787d8343f8b8b534734c33045129cd2cb.tar.bz2
[#678] need to also check for empty key
Diffstat (limited to 'idrop-lite')
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
index 5d39e18..ff8318d 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
@@ -1273,7 +1273,7 @@ public class iDropLiteApplet extends javax.swing.JApplet implements TransferStat
iDropCore.getIrodsFileSystem().getIRODSAccessObjectFactory(), iDropCore.getIrodsAccount(),
dataCacheServiceFactory);
log.info("getting cart as logged in user, key: {}", this.key);
- if ((this.mode == 2) && (this.key != null) && (this.key != "undefined")) {
+ if ((this.mode == 2) && (this.key != null) && (!this.key.isEmpty()) && (this.key != "undefined")) {
cart = shoppingCartService.retreiveShoppingCartAsLoggedInUser(this.key);
}
else {