Skip to content

Commit f92cc97

Browse files
authored
Merge pull request #62 from stetard/Default-image
Fix the copy of the default image when adding a Repository module on a page
2 parents 2f0fe55 + 5382e7d commit f92cc97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Helpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public void SetRepositoryFolders(int ModuleId)
512512
// if not, create it.
513513
Directory.CreateDirectory(g_ApprovedFolder);
514514
// copy the noimage graphic to the newly created folder.
515-
File.Copy(HttpContext.Current.Server.MapPath("~/DesktopModules/Repository/images/noimage.jpg"), g_ApprovedFolder + "noimage.jpg");
515+
File.Copy(HttpContext.Current.Server.MapPath("~/DesktopModules/Repository/images/noimage.jpg"), g_ApprovedFolder + "\\noimage.jpg");
516516
}
517517

518518
// and make sure the Pending folder exists

0 commit comments

Comments
 (0)