aboutsummaryrefslogtreecommitdiffstats
path: root/mod/tagger.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tagger.php')
-rw-r--r--mod/tagger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index 653848765..bf05d2e4c 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -59,8 +59,8 @@ function tagger_content(&$a) {
$uri = item_new_uri($a->get_hostname(),$owner_uid);
$xterm = xmlify($term);
- $post_type = (($item['resource-id']) ? t('photo') : t('status'));
- $targettype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+ $post_type = (($item['resource_id']) ? t('photo') : t('status'));
+ $targettype = (($item['resource_id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
$link = xmlify('<link rel="alternate" type="text/html" href="'
. $a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;