summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
index f63ecf03..f04805a7 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
@@ -175,7 +175,9 @@ public class MobileBKUState extends State {
// check if we have everything we need!
if (mobileStatus.getPhoneNumber() != null
- && mobileStatus.getMobilePassword() != null) {
+ && !mobileStatus.getPhoneNumber().equals("") //$NON-NLS-1$
+ && mobileStatus.getMobilePassword() != null
+ && !mobileStatus.getMobilePassword().equals("")) { //$NON-NLS-1$
// post to bku
Thread postCredentialsThread = new Thread(
new PostCredentialsThread(this));