mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
This commit is contained in:
parent
a900458749
commit
9c9f7d7790
28 changed files with 1600 additions and 65 deletions
|
@ -75,13 +75,16 @@
|
|||
if (!isset($config)) {
|
||||
$config = $CFG;
|
||||
}
|
||||
if (!isset($focus)) {
|
||||
$focus = "";
|
||||
}
|
||||
|
||||
$stradmin = get_string("administration");
|
||||
$strconfigvariables = get_string("configvariables");
|
||||
|
||||
if ($site) {
|
||||
print_header("$site->shortname: $strconfigvariables", "$site->fullname",
|
||||
"<A HREF=\"index.php\">$stradmin</A> -> $strconfigvariables", "$focus");
|
||||
print_header("$site->shortname: $strconfigvariables", $site->fullname,
|
||||
"<A HREF=\"index.php\">$stradmin</A> -> $strconfigvariables", $focus);
|
||||
print_heading($strconfigvariables);
|
||||
} else {
|
||||
print_header();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue