mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-32117 EQUELLA plugin: else if -> elseif
This commit is contained in:
parent
11a55b46ff
commit
1b4e7fbc37
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class repository_equella extends repository {
|
|||
$mimetypesstr = '&mimeTypes=' . implode(',', $this->mimetypes);
|
||||
// We're restricting to a mime type, so we always restrict to selecting resources only.
|
||||
$restrict = '&attachmentonly=true';
|
||||
} else if ($this->get_option('equella_select_restriction') != 'none') {
|
||||
} elseif ($this->get_option('equella_select_restriction') != 'none') {
|
||||
// The option value matches the EQUELLA paramter name.
|
||||
$restrict = '&' . $this->get_option('equella_select_restriction') . '=true';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue