mirror of
https://github.com/moparisthebest/k-9
synced 2024-08-13 17:03:48 -04:00
Fix possible NPE.
This commit is contained in:
parent
14f0b7faf4
commit
0f7fc33544
@ -741,7 +741,7 @@ public class WebDavStore extends Store
|
|||||||
if (formAction == null)
|
if (formAction == null)
|
||||||
{
|
{
|
||||||
// If there is no form action, try using our redirect URL from the initial connection.
|
// If there is no form action, try using our redirect URL from the initial connection.
|
||||||
if (info.redirectUrl != null && !info.redirectUrl.equals(""))
|
if (info != null && info.redirectUrl != null && !info.redirectUrl.equals(""))
|
||||||
{
|
{
|
||||||
loginUrl = info.redirectUrl;
|
loginUrl = info.redirectUrl;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user