Browse Source

attack of the zombie orphans

pull/1/head
Friendika 9 years ago
parent
commit
7c1968907d
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      include/delivery.php
  2. +3
    -0
      include/notifier.php

+ 2
- 0
include/delivery.php View File

@ -96,6 +96,8 @@ function delivery_run($argv, $argc){
$uid = $r[0]['uid'];
$updated = $r[0]['edited'];
if(! $parent_id)
return;
$items = q("SELECT `item`.*, `sign`.`signed_text`,`sign`.`signature`,`sign`.`signer`


+ 3
- 0
include/notifier.php View File

@ -123,6 +123,9 @@ function notifier_run($argv, $argc){
$uid = $r[0]['uid'];
$updated = $r[0]['edited'];
if(! $parent_id)
return;
$items = q("SELECT `item`.*, `sign`.`signed_text`,`sign`.`signature`,`sign`.`signer`
FROM `item` LEFT JOIN `sign` ON `sign`.`iid` = `item`.`id` WHERE `parent` = %d ORDER BY `id` ASC",
intval($parent_id)


Loading…
Cancel
Save