From 139c7a7979b44aac0e6c6948f0bb33ea05bfd72f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 09:39:51 -0400 Subject: 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 --- lib/stream.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/stream.php b/lib/stream.php index f5fcf226c..a9c01095e 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', -- cgit v1.2.3-54-g00ecf