mirror of
https://github.com/moparisthebest/PhoneGap-SQLitePlugin-Android
synced 2024-11-22 00:42:20 -05:00
fix for inserting a null value
This commit is contained in:
parent
baa87f9e08
commit
b500b78408
@ -85,6 +85,8 @@ public class SQLitePlugin extends Plugin {
|
|||||||
|
|
||||||
for (int j = 0; j < paramLen; j++) {
|
for (int j = 0; j < paramLen; j++) {
|
||||||
params[i][j] = jsonArr.getString(j);
|
params[i][j] = jsonArr.getString(j);
|
||||||
|
if(params[i][j] == "null")
|
||||||
|
params[i][j] = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user