Skip to content

Commit

Permalink
MDL-80283 url: url page less wide.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Jan 31, 2025
1 parent 1c7ac70 commit 697c4ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/url/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
url_view($url, $course, $cm, $context);

$PAGE->set_url('/mod/url/view.php', array('id' => $cm->id));
$PAGE->set_pagelayout('standard');

// Make sure URL exists before generating output - some older sites may contain empty urls
// Do not use PARAM_URL here, it is too strict and does not support general URIs!
Expand Down

0 comments on commit 697c4ca

Please sign in to comment.