PluginProbe
Social Share Buttons / 1.19
Social Share Buttons v1.19
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | classes/class-collections.php +4 -1 1.121.19 View file →
@@ -141,10 +141,13 @@
141 141 // When MB PRO is configured to output CSS via file.
142 142 static function outputFileCSS()
143 143 {
144 144 $collection_id = intval($_GET['id']);
145 + $doc_id = intval($_GET['doc']);
145 146 $collection = new collection($collection_id);
146 - $css = $collection->getDisplayCSS();
147 + $css = $collection->getDisplayCSS($doc_id);
148 + header( "Content-type: text/css; charset: UTF-8" );
149 +
147 150 if ($css)
148 151 {
149 152 header( "Content-type: text/css; charset: UTF-8" );
150 153 echo $css;