Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28242d
)
fixed invalid object creation
author
Petr Skoda
<skodak@moodle.org>
Sat, 18 Sep 2010 11:15:45 +0000
(11:15 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Sat, 18 Sep 2010 11:15:45 +0000
(11:15 +0000)
lib/deprecatedlib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/deprecatedlib.php
b/lib/deprecatedlib.php
index
fe6d2ed
..
498aea1
100644
(file)
--- a/
lib/deprecatedlib.php
+++ b/
lib/deprecatedlib.php
@@
-3589,7
+3589,7
@@
function print_heading_with_help($text, $helppage, $module='moodle', $icon=false
// Extract the src from $icon if it exists
if (preg_match('/src="([^"]*)"/', $icon, $matches)) {
$icon = $matches[1];
- $icon = moodle_url($icon);
+ $icon =
new
moodle_url($icon);
} else {
$icon = '';
}