mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26: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
|
@ -26,6 +26,7 @@
|
|||
"<META NAME=\"Description\" CONTENT=\"".stripslashes(strip_tags($site->summary))."\">",
|
||||
true, "", $headerbutton);
|
||||
|
||||
$firstcolumn = false; // for now
|
||||
$side = 175;
|
||||
|
||||
?>
|
||||
|
@ -38,7 +39,8 @@
|
|||
|
||||
if ($site->newsitems > 0 or $sections[0]->sequence or isediting($site->id)) {
|
||||
|
||||
echo "<TD WIDTH=\"$side\" VALIGN=TOP NOWRAP>"; $firstcolumn=true;
|
||||
echo "<TD WIDTH=\"$side\" VALIGN=TOP NOWRAP>";
|
||||
$firstcolumn=true;
|
||||
|
||||
if ($sections[0]->sequence or isediting($site->id)) {
|
||||
get_all_mods($site->id, $mods, $modnames, $modnamesplural, $modnamesused);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue