Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abautu committed Feb 2, 2018
1 parent 7811b36 commit e388b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public static function type_config_form($mform, $classname = 'repository') {

$apikey = get_config('giphy', 'api_key');
$rating = get_config('giphy', 'rating');
$mform->addElement('text', 'api_key', get_string('api_key', 'repository_giphu'), array('size' => '32'));
$mform->addElement('text', 'api_key', get_string('api_key', 'repository_giphy'), array('size' => '32'));
$mform->addRule('api_key', get_string('required'), 'required', null, 'client');
$mform->setDefault('api_key', $apikey);

Expand All @@ -258,7 +258,7 @@ public static function type_config_form($mform, $classname = 'repository') {
'R' => get_string('ratingR', 'repository_giphy'),
'G' => get_string('ratingG', 'repository_giphy'),
);
$mform->addElement('select', 'rating', get_string('rating', 'repository_giphu'), $ratings, $attributes);
$mform->addElement('select', 'rating', get_string('rating', 'repository_giphy'), $ratings, $attributes);
$mform->setDefault('rating', $rating);
}
}

0 comments on commit e388b4d

Please sign in to comment.