aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_upload.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-03-17 12:51:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-03-17 12:51:32 +0000
commit4962db5f6715210d4e577fa843f82ffe61b47bc4 (patch)
treebba382a22c3dba0ae7548c62c32348f11e7e7dd5 /phpBB/includes/functions_upload.php
parent59ba11f18f9b43fc154018923c20dcc17db8ffa7 (diff)
downloadforums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar.gz
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar.bz2
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.tar.xz
forums-4962db5f6715210d4e577fa843f82ffe61b47bc4.zip
- fix some bugs...
git-svn-id: file:///svn/phpbb/trunk@5643 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_upload.php')
-rw-r--r--phpBB/includes/functions_upload.php2
1 files changed, 1 insertions, 1 deletions
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':