Return "0 secs" instead of "" in Rex::ExtTime.sec_to_s()
git-svn-id: file:///home/svn/framework3/trunk@5855 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3741ca6eeb
commit
97fee9e16f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue