From f0b05838cb1ee23dde1c1b1a875c247530f12d38 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 23 Mar 2017 23:37:58 +0100 Subject: [PATCH] fixed comment and explained one Signed-off-by: Roland Haeder --- src/Protocol/DFRN.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 1b760b064..6a64a8295 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -1973,9 +1973,11 @@ class DFRN */ if (!DBM::is_result($r)) { // database record did not get created. Quietly give up. - return false; + killme(); } + $fid = $r[0]["id"]; + $hash = random_string(); $r = q(