summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r--actions/subscribed.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/subscribed.php b/actions/subscribed.php
index 160267838..659118fb9 100644
--- a/actions/subscribed.php
+++ b/actions/subscribed.php
@@ -42,7 +42,8 @@ class SubscribedAction extends Action {
}
function show_subscribed($profile, $page) {
-
+ global $config;
+
$subs = DB_DataObject::factory('subscription');
$subs->subscribed = $profile->id;
@@ -68,7 +69,7 @@ class SubscribedAction extends Action {
'href' => $subs->profileurl,
'class' => 'subscription'));
$avatar = $subs->getAvatar(AVATAR_STREAM_SIZE);
- common_element('img', array('src' => (($avatar) ? $avatar->url : DEFAULT_STREAM_AVATAR),
+ common_element('img', array('src' => (($avatar) ? $avatar->url : $config['avatar']['default']['stream']),
'width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE,
'class' => 'avatar stream',