Skip to content

Commit

Permalink
Merge branch 'MDL-38712-master' of git://github.com/danpoltawski/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Apr 2, 2013
2 parents 899fd93 + 1f0cd6e commit 5423f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/glossary/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function definition() {
$mform->setDefault('entbypage', 10);
$mform->addRule('entbypage', null, 'required', null, 'client');
$mform->addRule('entbypage', null, 'numeric', null, 'client');
$mform->setType('entbypage', PARAM_INT);

if (has_capability('mod/glossary:manageentries', context_system::instance())) {
$mform->addElement('checkbox', 'globalglossary', get_string('isglobal', 'glossary'));
Expand Down

0 comments on commit 5423f9a

Please sign in to comment.