]> git.mxchange.org Git - friendica.git/commitdiff
fixed comment and explained one
authorRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 22:37:58 +0000 (23:37 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:50:02 +0000 (22:50 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
src/Protocol/DFRN.php

index ff9c653c8a5c78a9270012f3d10a8ca9fac72e8c..1c9238bb842bb02625671a469303daf4c4fc0a71 100644 (file)
@@ -1988,9 +1988,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(