changes to community branch for moodle 2.6
code review changes
missed opening bracket
fixed if block
correct variable name
fix eol
fix eol
fix eol