aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php
index e6523f147..27f178fe0 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -170,7 +170,7 @@ function notifier_run($argv, $argc){
$item['deleted'] = 1;
}
- if((count($items) == 1) && ($items[0]['id'] === $target_item['id']) && ($items[0]['uri'] === $items[0]['parent-uri'])) {
+ if((count($items) == 1) && ($items[0]['id'] === $target_item['id']) && ($items[0]['uri'] === $items[0]['parent_uri'])) {
logger('notifier: top level post');
$top_level = true;
}
@@ -365,7 +365,7 @@ function notifier_run($argv, $argc){
'$subject' => xmlify($item['title']),
'$created' => xmlify(datetime_convert('UTC', 'UTC', $item['created'] . '+00:00' , ATOM_TIME)),
'$content' => xmlify($body),
- '$parent_id' => xmlify($item['parent-uri'])
+ '$parent_id' => xmlify($item['parent_uri'])
));
}
elseif($fsuggest) {