summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/file.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 2972699..b14c5b9 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -459,6 +459,7 @@ function file_create_filename($basename, $directory) {
}
else {
$name = $basename;
+ $ext = '';
}
$counter = 0;