mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
New wiki page creation works.
This commit is contained in:
@@ -98,7 +98,7 @@ object WikiUtil {
|
||||
cloned.add.addFilepattern(file.getName).call
|
||||
|
||||
// delete file
|
||||
if(currentPageName != newPageName){
|
||||
if(currentPageName != "" && currentPageName != newPageName){
|
||||
cloned.rm.addFilepattern(currentPageName + ".md")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user