From 59607ad7f7f5e65e081960deddd238069b411be5 Mon Sep 17 00:00:00 2001 From: Gilles Querret Date: Tue, 31 Jan 2023 13:46:25 +0100 Subject: [PATCH] Revert change that shouldn't have been part of previous commit --- src/java/com/phenix/pct/PCTConnection.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/java/com/phenix/pct/PCTConnection.java b/src/java/com/phenix/pct/PCTConnection.java index 0eed1a9fb..e7a320ea9 100755 --- a/src/java/com/phenix/pct/PCTConnection.java +++ b/src/java/com/phenix/pct/PCTConnection.java @@ -304,10 +304,12 @@ public List getConnectParametersList() { list.add(logicalName); } - if (Boolean.TRUE.equals(singleUser)) { - list.add("-1"); //$NON-NLS-1$ - } else { - list.remove("-1"); + if (singleUser != null) { + if (singleUser) { + list.add("-1"); //$NON-NLS-1$ + } else { + list.remove("-1"); + } } if (cacheFile != null) {