projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50af201
)
MDL-15348 Make the filepicker component return the itemid of the new file (in user_dr...
author
moodler
<moodler>
Tue, 2 Sep 2008 02:59:01 +0000
(
02:59
+0000)
committer
moodler
<moodler>
Tue, 2 Sep 2008 02:59:01 +0000
(
02:59
+0000)
lib/form/filepicker.php
patch
|
blob
|
history
diff --git
a/lib/form/filepicker.php
b/lib/form/filepicker.php
index b577a21f93898cdbacaa3b7c1fe92b53bb281c90..f57586fe523b1c5d6a3138f2eb39be47e6e1ad4e 100644
(file)
--- a/
lib/form/filepicker.php
+++ b/
lib/form/filepicker.php
@@
-84,4
+84,7
@@
EOD;
return $str;
}
}
+ function exportValue(&$submitValues, $assoc = false) {
+ return array($this->_attributes['name'] => $submitValues[$this->_attributes['name']]);
+ }
}