X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_confirm.php;h=1b42c13b8ac8203984e5fb3df404c18b5551deeb;hb=8c245a5d2f4e6882211ac17561f86537a7089c73;hp=6b9bbfe133b1adf22137ab05e5bf08c2255cc3cb;hpb=b302012581143285f8354d8af76185372f707493;p=friendica.git
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 6b9bbfe133..1b42c13b8a 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -432,13 +432,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
$arr['object'] .= '' . xmlify('' . "\n");
$arr['object'] .= xmlify('' . "\n");
$arr['object'] .= '' . "\n";
+ $arr['last-child'] = 1;
$i = item_store($arr);
-
- $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
-
- proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"activity\" \"$i\" &",
- array(),$foo));
+ if($i)
+ proc_run('php',"include/notifier.php","activity","$i");
}