MDL-26167 lib/form: minor coding tweaks
This commit is contained in:
@@ -57,7 +57,7 @@ class file_picker implements renderable {
|
||||
'itemid' => 0,
|
||||
'maxbytes'=>-1,
|
||||
'maxfiles'=>1,
|
||||
'buttonname'=>false,
|
||||
'buttonname'=>false
|
||||
);
|
||||
foreach ($defaults as $key=>$value) {
|
||||
if (empty($options->$key)) {
|
||||
|
||||
Reference in New Issue
Block a user