]> git.mjollnir.org Git - moodle.git/commitdiff
NOBUG: Fix use of output_tag() causing warnings here and there.
authorEloy Lafuente <stronk7@moodle.org>
Wed, 30 Dec 2009 18:00:34 +0000 (18:00 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Wed, 30 Dec 2009 18:00:34 +0000 (18:00 +0000)
lib/outputrenderers.php

index 5341e18af6a37dcbf2b6283fcaa7e0a4075346b1..949cce849791629b4db5f77ebb2f8e7e97ddc239 100644 (file)
@@ -1958,7 +1958,7 @@ class core_renderer extends renderer_base {
                 }
                 if ($table->rotateheaders) {
                     // we need to wrap the heading content
-                    $heading->text = $this->output_tag('span', '', $heading->text);
+                    $heading->text = $this->output_tag('span', null, $heading->text);
                 }
 
                 $attributes = array(