mirror of
https://github.com/moodle/moodle.git
synced 2025-02-22 19:06:51 +01:00
MDL-21232 using normal = which should be enough now in PHP5
This commit is contained in:
parent
a322cbb90d
commit
801db07670
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user