From: Petr Skoda Date: Mon, 4 Jan 2010 07:51:59 +0000 (+0000) Subject: MDL-21232 using normal = which should be enough now in PHP5 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=801db0767089a5e901a28cee93fc04bbc2d87a8a;p=moodle.git MDL-21232 using normal = which should be enough now in PHP5 --- diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 7ce33f3ef5..6e9b3ab983 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -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 {