Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #111 from techird/dev-1.3.6
Browse files Browse the repository at this point in the history
asp bug fix
  • Loading branch information
campaign committed Dec 24, 2013
2 parents 4da8c20 + 121169e commit 5adf5c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion asp/Uploader.Class.asp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ Class Uploader
Private Function GetSaveName( ByVal filename )
Dim format, ext, name
format = rsFormValues.Item( "fileNameFormat" )
If rsFormValues <> Null Then
format = rsFormValues.Item( "fileNameFormat" )
Else
format = "{yyyy}{mm}{dd}{hh}{ii}{ss}{rand:6}"
End If
ext = GetExt( filename )
name = GetNameWithoutExt( filename )
filename = Replace( format, "{filename}", name )
Expand Down

0 comments on commit 5adf5c8

Please sign in to comment.