From 24ee7357c1f69a9ad339e40945075a030fc70761 Mon Sep 17 00:00:00 2001 From: Sergey Date: Mon, 27 Aug 2012 15:13:39 +0300 Subject: [PATCH] check product.Link is null. Bugfix for http://websitepanel.codeplex.com/workitem/338 New Gallery - "All" not working --- .../WPIWebApplicationGallery/WPIApplicationGallery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WPIWebApplicationGallery/WPIApplicationGallery.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WPIWebApplicationGallery/WPIApplicationGallery.cs index 532220a4..c931f77f 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WPIWebApplicationGallery/WPIApplicationGallery.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WPIWebApplicationGallery/WPIApplicationGallery.cs @@ -387,7 +387,7 @@ namespace WebsitePanel.Providers.Web.WPIWebApplicationGallery Summary = product.Summary, LastUpdated = product.Published, Published = product.Published, - Link = product.Link.ToString(), + Link = (null == product.Link) ? "" : product.Link.ToString(), InstallerFileSize = size }; }