]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21232 using normal = which should be enough now in PHP5
authorPetr Skoda <skodak@moodle.org>
Mon, 4 Jan 2010 07:51:59 +0000 (07:51 +0000)
committerPetr Skoda <skodak@moodle.org>
Mon, 4 Jan 2010 07:51:59 +0000 (07:51 +0000)
lib/outputrenderers.php

index 7ce33f3ef572e355489a51889742b984364ce402..6e9b3ab98398b6869581edc59501d242ea7ab91d 100644 (file)
@@ -1284,7 +1284,7 @@ class core_renderer extends renderer_base {
             $image = clone($image_or_url);
         } else {
             if ($image_or_url instanceof moodle_url) {
-                $url = &$image_or_url;
+                $url = $image_or_url;
             } else if (strpos($image_or_url, 'http')) {
                 $url = new moodle_url($image_or_url);
             } else {