summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 07:57:27 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 07:57:27 -0400
commit289c44141d7d6aabd924f6543c1a49df5b3444c4 (patch)
tree91a43c31509537dd6009b8c683b5ba5a21befab2 /actions/subscribed.php
parent396027cde825ea4d73eb2c852c39b5bf7e79aed8 (diff)
default avatar
darcs-hash:20080521115727-84dde-73b58873e08c936139bd63cffab0c30883c9f8a5.gz
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',