Permalink
Browse files

MDL-32117 EQUELLA plugin: else if -> elseif

  • Loading branch information...
1 parent 11a55b4 commit 1b4e7fbc3764fa5443107a10d6da268399d0e2b2 nread committed with danpoltawski May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 repository/equella/lib.php
@@ -55,7 +55,7 @@ public function get_listing($path = null, $page = null) {
$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';
}

0 comments on commit 1b4e7fb

Please sign in to comment.