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:
parent
55fdd0b981
commit
139c7a7979
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user