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
This commit is contained in:
Evan Prodromou 2008-05-21 09:39:51 -04:00
parent 55fdd0b981
commit 139c7a7979

View File

@ -28,6 +28,7 @@ class StreamAction extends Action {
} }
function show_notice($notice) { function show_notice($notice) {
global $config;
$profile = $notice->getProfile(); $profile = $notice->getProfile();
# XXX: RDFa # XXX: RDFa
common_element_start('div', array('class' => 'notice', common_element_start('div', array('class' => 'notice',