Skip to content

Commit

Permalink
placeholder https instead of http
Browse files Browse the repository at this point in the history
  • Loading branch information
dangerer committed Aug 1, 2024
1 parent 2cf2732 commit 06b5a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/item_edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function definition() {
$mform->add_exaport_help_button('categoryid', 'forms.item.categoryid');

if ($type == 'link') {
$mform->addElement('text', 'url', get_string("url", "block_exaport"), 'maxlength="255" size="60" value="http://"');
$mform->addElement('text', 'url', get_string("url", "block_exaport"), 'maxlength="255" size="60" value="https://"');
$mform->setType('url', PARAM_TEXT);
$mform->addRule('url', get_string("urlnotempty", "block_exaport"), 'required', null, 'client');
} else {
Expand Down

0 comments on commit 06b5a87

Please sign in to comment.