]> git.mxchange.org Git - friendica.git/commitdiff
Contact ID is integer
authorMichael <heluecht@pirati.ca>
Sun, 11 Jun 2017 20:25:51 +0000 (20:25 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 11 Jun 2017 20:25:51 +0000 (20:25 +0000)
include/notifier.php

index 28d437f4ceac73576b8e378737781e46041ea6e1..c110984dde0f9021f4d40e48809eec77446fd565 100644 (file)
@@ -488,7 +488,7 @@ function notifier_run(&$argv, &$argc){
                        logger("Deliver ".$target_item["guid"]." to ".$contact['url']." via network ".$contact['network'], LOGGER_DEBUG);
 
                        proc_run(array('priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true),
-                                       'include/delivery.php', $cmd, $item_id, $contact['id']);
+                                       'include/delivery.php', $cmd, $item_id, (int)$contact['id']);
                }
        }
 
@@ -554,7 +554,7 @@ function notifier_run(&$argv, &$argc){
                                if ((! $mail) && (! $fsuggest) && (! $followup)) {
                                        logger('notifier: delivery agent: '.$rr['name'].' '.$rr['id'].' '.$rr['network'].' '.$target_item["guid"]);
                                        proc_run(array('priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true),
-                                                       'include/delivery.php', $cmd, $item_id, $rr['id']);
+                                                       'include/delivery.php', $cmd, $item_id, (int)$rr['id']);
                                }
                        }
                }