MDL-32117 EQUELLA plugin: else if -> elseif

This commit is contained in:
nread 2012-05-17 15:41:55 +10:00 committed by Dan Poltawski
parent 11a55b46ff
commit 1b4e7fbc37

View file

@ -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';
}