]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
declare config global for show_notice in streams
authorEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 13:39:51 +0000 (09:39 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 13:39:51 +0000 (09:39 -0400)
This is needed to get the default avatar, but it was missing.

darcs-hash:20080521133951-84dde-9d7ebbcc90086e94d1b48b33dfadcc9169f0f183.gz

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',