mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
|
@ -49,8 +49,13 @@
|
|||
} else {
|
||||
$ss = $strnotdone;
|
||||
}
|
||||
if ($survey->section) {
|
||||
$section = "$survey->section";
|
||||
} else {
|
||||
$section = "";
|
||||
}
|
||||
if ($course->format == "weeks" or $course->format == "topics") {
|
||||
$table->data[] = array ("$survey->section",
|
||||
$table->data[] = array ($section,
|
||||
"<A HREF=\"view.php?id=$survey->coursemodule\">$survey->name</A>",
|
||||
"<A HREF=\"view.php?id=$survey->coursemodule\">$ss</A>");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue