summaryrefslogtreecommitdiff
path: root/lib/stream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 09:39:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 09:39:51 -0400
commit139c7a7979b44aac0e6c6948f0bb33ea05bfd72f (patch)
tree126434daf7c7b295ffa2bf0d5216a72ae4b706b2 /lib/stream.php
parent55fdd0b981c0a429186eda6f8d95b06f67eade76 (diff)
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
Diffstat (limited to 'lib/stream.php')
-rw-r--r--lib/stream.php1
1 files changed, 1 insertions, 0 deletions
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',