summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
index f63ecf03..f04805a7 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
+++ b/trunk/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));