Fix not showing mysql/php errors

This commit is contained in:
Przemek Grondek 2014-08-01 14:23:36 +02:00
parent 739ad4a104
commit 5f87f442c6

View file

@ -126,13 +126,13 @@ public class AsyncDatabaseConnector {
if(data == null) {
listenerData = false;
errorMsg = error;
}
else if(booleanReturnListener!=null)
listenerData = (data.compareTo("OK")==0);
else {
} else if( data.compareTo("OK") == 0){
listenerData = true;
} else {
errorMsg = data;
listenerData = false;
}
booleanReturnListener.onBooleanReturn(listenerData);
}
});