Skip to content

Commit

Permalink
fixed bug with null params
Browse files Browse the repository at this point in the history
  • Loading branch information
marcucio committed Apr 9, 2012
1 parent c3f175b commit 0ebc6a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Android/SQLitePlugin/assets/www/SQLitePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@
else
new_query['query_id'] = "";
new_query['query'] = query;
new_query['params'] = params;
if(params)
new_query['params'] = params;
else
new_query['params'] = [];
new_query['callback'] = callback;
new_query['err_callback'] = err_callback;
if(!transaction_queue[trans_id])
Expand Down

0 comments on commit 0ebc6a9

Please sign in to comment.