]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/stream.php
declare config global for show_notice in streams
[quix0rs-gnu-social.git] / lib / stream.php
index f5fcf226c7968f2e7b61377dd8e6ccf98f0fd76e..a9c01095ec4ae4c503b280d1680522c941876114 100644 (file)
@@ -28,6 +28,7 @@ class StreamAction extends Action {
        }
 
        function show_notice($notice) {
+               global $config;
                $profile = $notice->getProfile();
                # XXX: RDFa
                common_element_start('div', array('class' => 'notice',