I posted this bug report months ago and have only just got around to following it up. I've posted it here as theme makers will likely be the people to have noticed this bug.
Can anyone else confirm the issue of the header code being duplicated on error pages? One such example would be if (as a teacher or admin) you try to view the grades page when there are as yet no grades to display - you get the normal "No grades returned" error and a continue button. However, if you look at the source for this page you'll notice the header portion is duplicated. It starts as normal, continuing until until a few lines after <!-- Header ends here --> and thensuddenly repeats from the doctype declaration again!
This really affects my Moodle Themes as I use background images on the <body> tag and so on these faulty error pages I get two sets of backgrounds...
I've seen this error on both 1.5.3 and the new 1.6 beta. Has anyone else?
Fixed in CVS.
Woo! Thanks all.
