From 44f2caf60bb5adb23cf753449e81e4889d11051b Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 12 Jan 2009 02:07:31 +0000 Subject: [PATCH] BUGFIX Fixed FileField->getFolderName() - it was not returning $this->folderName, instead it was returning an undefined variable in error git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@69975 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/FileField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/FileField.php b/forms/FileField.php index 258e846b4..b8027d0ad 100755 --- a/forms/FileField.php +++ b/forms/FileField.php @@ -201,7 +201,7 @@ class FileField extends FormField { * @return string */ public function getFolderName() { - return $folderName; + return $this->folderName; } public function validate($validator) {