From 4962db5f6715210d4e577fa843f82ffe61b47bc4 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 17 Mar 2006 12:51:32 +0000 Subject: - fix some bugs... git-svn-id: file:///svn/phpbb/trunk@5643 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_upload.php') diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php index f24edb1dea..a53d31e2b4 100644 --- a/phpBB/includes/functions_upload.php +++ b/phpBB/includes/functions_upload.php @@ -103,7 +103,7 @@ class filespec $this->realname = rawurlencode(str_replace($bad_chars, '_', strtolower($this->realname))); $this->realname = preg_replace("/%(\w{2})/", '_', $this->realname); - $this->realname = $prefix . $this->realname . '_.' . $this->extension; + $this->realname = $prefix . $this->realname . '.' . $this->extension; break; case 'unique': -- cgit v1.2.1