Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ggppdk committed Sep 30, 2017
1 parent 0172bb4 commit 8148327
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected function getOptions()
$extension = $this->element['extension'] ? (string) $this->element['extension'] : (string) $jinput->get('option', 'com_content');
}

// Account for case that of a submitted form with multiple-value category id field (e.g. a filtering form), just use the first one
// Account for case that a submitted form has a multi-value category id field (e.g. a filtering form), just use the first category
$oldCat = is_array($oldCat)
? reset($oldCat)
: $oldCat;
Expand Down

0 comments on commit 8148327

Please sign in to comment.