diff options
author | Friendika <info@friendika.com> | 2011-10-02 05:32:05 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-02 05:32:05 -0700 |
commit | 7c1968907d26a66581d362475a6b557e53e159cb (patch) | |
tree | 99186c300166ac1622ba5a951f35f05ff93b25c3 /include/notifier.php | |
parent | 8c9a6b0512da3bd73f28989bc179c4e417b267d8 (diff) | |
download | volse-hubzilla-7c1968907d26a66581d362475a6b557e53e159cb.tar.gz volse-hubzilla-7c1968907d26a66581d362475a6b557e53e159cb.tar.bz2 volse-hubzilla-7c1968907d26a66581d362475a6b557e53e159cb.zip |
attack of the zombie orphans
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php index 864fa517b..d1cd1cc73 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -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) |