diff options
author | friendica <info@friendica.com> | 2012-08-15 22:33:37 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-15 22:33:37 -0700 |
commit | f7c6a6ff9071c120f5bd6efe51cdb934e0c30cc7 (patch) | |
tree | 586454a21f87a8f9a5e75073ac065cfbbae935a4 /include/notifier.php | |
parent | 77b334efbce9eb9aef825b968a2c852da21bfe94 (diff) | |
download | volse-hubzilla-f7c6a6ff9071c120f5bd6efe51cdb934e0c30cc7.tar.gz volse-hubzilla-f7c6a6ff9071c120f5bd6efe51cdb934e0c30cc7.tar.bz2 volse-hubzilla-f7c6a6ff9071c120f5bd6efe51cdb934e0c30cc7.zip |
item table rename parent-uri, target-type, object-type (more to come later)
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 4 |
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) { |