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:
f856216
)
MDL-29768 Language : fixed installation undefined debugstringids notice
author
Aparup Banerjee
<aparup@moodle.com>
Tue, 18 Oct 2011 03:19:43 +0000
(11:19 +0800)
committer
Aparup Banerjee
<aparup@moodle.com>
Tue, 18 Oct 2011 03:19:43 +0000
(11:19 +0800)
lib/moodlelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/moodlelib.php
b/lib/moodlelib.php
index
f993bab
..
34fb4ad
100644
(file)
--- a/
lib/moodlelib.php
+++ b/
lib/moodlelib.php
@@
-6734,7
+6734,7
@@
function get_string($identifier, $component = '', $a = NULL) {
$result = get_string_manager()->get_string($identifier, $component, $a);
// Debugging feature lets you display string identifier and component
- if ($CFG->debugstringids && optional_param('strings', 0, PARAM_INT)) {
+ if (
isset($CFG->debugstringids) &&
$CFG->debugstringids && optional_param('strings', 0, PARAM_INT)) {
$result .= ' {' . $identifier . '/' . $component . '}';
}
return $result;