@@ -93,7 +93,7 module Redmine | |||||
93 | :path => (path.nil? or path.empty? ? e.first : "#{with_trailling_slash(path)}#{e.first}"), |
|
93 | :path => (path.nil? or path.empty? ? e.first : "#{with_trailling_slash(path)}#{e.first}"), | |
94 | :kind => (e.size > 1 ? 'dir' : 'file'), |
|
94 | :kind => (e.size > 1 ? 'dir' : 'file'), | |
95 | :lastrev => Revision.new |
|
95 | :lastrev => Revision.new | |
96 | }) unless entries.detect{|entry| entry.name == e.first} |
|
96 | }) unless e.empty? || entries.detect{|entry| entry.name == e.first} | |
97 | end |
|
97 | end | |
98 | end |
|
98 | end | |
99 | end |
|
99 | end |
General Comments 0
You need to be logged in to leave comments.
Login now