Issue #1169034 by mfb: fix notice in file_create_filename() for cases when the ext...
authorGábor Hojtsy
Wed, 23 Nov 2011 09:37:17 +0000 (10:37 +0100)
committerGábor Hojtsy
Wed, 23 Nov 2011 09:37:17 +0000 (10:37 +0100)
includes/file.inc

index 2972699..b14c5b9 100644 (file)
@@ -459,6 +459,7 @@ function file_create_filename($basename, $directory) {
     }
     else {
       $name = $basename;
+      $ext = '';
     }
 
     $counter = 0;