From: Evan Prodromou Date: Wed, 21 May 2008 13:39:51 +0000 (-0400) Subject: declare config global for show_notice in streams X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=139c7a7979b44aac0e6c6948f0bb33ea05bfd72f;p=quix0rs-gnu-social.git declare config global for show_notice in streams This is needed to get the default avatar, but it was missing. darcs-hash:20080521133951-84dde-9d7ebbcc90086e94d1b48b33dfadcc9169f0f183.gz --- diff --git a/lib/stream.php b/lib/stream.php index f5fcf226c7..a9c01095ec 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -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',