]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Design.php
fix for Atom notice output: correct check against conversation & current id
[quix0rs-gnu-social.git] / classes / Design.php
index c4820bf1ebc4d0a823594e81a2d6504c7b48dd80..4e7d7dfb257854a4a898ae44524b9a0739671e72 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -101,7 +101,7 @@ class Design extends Memcached_DataObject
         }
 
         if (0 != mb_strlen($css)) {
-            $out->element('style', array('type' => 'text/css'), $css);
+            $out->style($css);
         }
     }