Skip to content

Commit

Permalink
MDL-21435 fixed regression
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jan 26, 2010
1 parent c66a13b commit 8ce04d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/outputrenderers.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ public function standard_head_html() {

// Get the theme javascript head and footer
$jsurl = $this->page->theme->javascript_url();
$this->page->requires->js($jsurl->out(), true)->in_head();
$this->page->requires->js($jsurl)->in_head();
$jsurl = $this->page->theme->javascript_url(true);
$this->page->requires->js($jsurl->out(), true);
$this->page->requires->js($jsurl);

// Perform a browser environment check for the flash version. Should only run once per login session.
if (isloggedin() && !empty($CFG->excludeoldflashclients) && empty($SESSION->flashversion)) {
Expand Down

0 comments on commit 8ce04d5

Please sign in to comment.