Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_List.php |
— | — | @@ -98,6 +98,8 @@ |
99 | 99 | // Print header |
100 | 100 | $result = $header; |
101 | 101 | |
| 102 | + $column_width = 0; |
| 103 | + |
102 | 104 | // Set up floating divs, if there's more than one column |
103 | 105 | if ( $this->mColumns > 1 ) { |
104 | 106 | $column_width = floor( 100 / $this->mColumns ); |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php |
— | — | @@ -73,7 +73,7 @@ |
74 | 74 | } |
75 | 75 | } |
76 | 76 | else { // normal case: treat ID as a ResourceLoader ID |
77 | | - self::requireResource( $id ); |
| 77 | + self::$mHeadItems[$id] = $item; |
78 | 78 | } |
79 | 79 | } |
80 | 80 | |