fixes bug 299736 "Update service incorrectly reports 404 error when no updates are available" r=ben a=bsmedberg

git-svn-id: svn://10.0.0.236/trunk@175702 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net 2005-07-06 18:25:53 +00:00
parent a4b946dc8d
commit 39ea4c2369

View File

@ -322,7 +322,8 @@ var gUpdates = {
*/
setUpdate: function(update) {
this.update = update;
this.update.QueryInterface(Components.interfaces.nsIWritablePropertyBag);
if (this.update)
this.update.QueryInterface(Components.interfaces.nsIWritablePropertyBag);
},
/**