MDL-21232 using normal = which should be enough now in PHP5

This commit is contained in:
Petr Skoda 2010-01-04 07:51:59 +00:00
parent a322cbb90d
commit 801db07670

View 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 {