Return "0 secs" instead of "" in Rex::ExtTime.sec_to_s()

git-svn-id: file:///home/svn/framework3/trunk@5855 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
kris 2008-11-08 22:35:37 +00:00
parent 3741ca6eeb
commit 97fee9e16f
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ module ExtTime
str = "#{parts[idx]} #{name + ((parts[idx] != 1) ? 's' :'')} " + str
}
str
str.empty? ? "0 secs" : str
end
#
@ -62,4 +62,4 @@ module ExtTime
end
end
end