Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-26167 lib/form: minor coding tweaks

  • Loading branch information...
commit dd56fd7c64fb581a364f2e05dbca4156742e9bbb 1 parent 436f83f
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/outputcomponents.php
  2. +1 −1  lib/outputrenderers.php
View
2  lib/outputcomponents.php
@@ -57,7 +57,7 @@ public function __construct(stdClass $options) {
'itemid' => 0,
'maxbytes'=>-1,
'maxfiles'=>1,
- 'buttonname'=>false,
+ 'buttonname'=>false
);
foreach ($defaults as $key=>$value) {
if (empty($options->$key)) {
View
2  lib/outputrenderers.php
@@ -1979,7 +1979,7 @@ public function render_file_picker(file_picker $fp) {
} else {
$maxsize = get_string('maxfilesize', 'moodle', display_size($size));
}
- if ($options->buttonname){
+ if ($options->buttonname) {
$buttonname = ' name="' . $options->buttonname . '"';
} else {
$buttonname = '';
Please sign in to comment.
Something went wrong with that request. Please try again.