MDL-28099 Fixed regression as outlined in tracker.
authorJamie Pratt <me@jamiep.org>
Thu, 30 Jun 2011 07:34:10 +0000 (14:34 +0700)
committerJamie Pratt <me@jamiep.org>
Thu, 30 Jun 2011 07:34:10 +0000 (14:34 +0700)
lib/form/filepicker.php

index b724248..039ab76 100644 (file)
@@ -133,6 +133,7 @@ class MoodleQuickForm_filepicker extends HTML_QuickForm_input {
                 }
             }
         }
-        return $this->_prepareValue($draftitemid, $assoc);
+
+        return $this->_prepareValue($draftitemid, true);
     }
 }