From 487bb763d90774416484e94d85c73113ca48340c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 27 Nov 2009 01:23:45 +0000 Subject: [PATCH] MINOR Fixed PHP notice (#4765) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93747 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- filesystem/Folder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/Folder.php b/filesystem/Folder.php index e357e8d52..b33ac8137 100755 --- a/filesystem/Folder.php +++ b/filesystem/Folder.php @@ -237,7 +237,7 @@ class Folder extends File { return $this->constructChild(basename($file)); } else { if(!file_exists($tmpFile['tmp_name'])) user_error("Folder::addUploadToFolder: '$tmpFile[tmp_name]' doesn't exist", E_USER_ERROR); - else user_error("Folder::addUploadToFolder: Couldn't copy '$tmpFile[tmp_name]' to '$fullFilename'", E_USER_ERROR); + else user_error("Folder::addUploadToFolder: Couldn't copy '$tmpFile[tmp_name]' to '$base/$file'", E_USER_ERROR); return false; } }