Revision: 21857 http://sourceforge.net/p/bibdesk/svn/21857 Author: hofman Date: 2018-02-09 17:46:00 +0000 (Fri, 09 Feb 2018) Log Message: ----------- set empty array when download did not fail but nothing was retrieved
Modified Paths: -------------- trunk/bibdesk/BDSKSharedGroup.m Modified: trunk/bibdesk/BDSKSharedGroup.m =================================================================== --- trunk/bibdesk/BDSKSharedGroup.m 2018-02-09 17:02:53 UTC (rev 21856) +++ trunk/bibdesk/BDSKSharedGroup.m 2018-02-09 17:46:00 UTC (rev 21857) @@ -204,6 +204,9 @@ // we set the macroResolver so we know the fields of this item may refer to it, so we can prevent scripting from adding this to the wrong document [pubs setValue:macroResolver forKey:@"macroResolver"]; + if (pubs == nil && [client failedDownload] == NO) + pubs = [NSArray array]; + [[self macroResolver] setMacroDefinitions:macros]; [self setPublications:pubs]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit