]> 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>
Wed, 20 Jun 2018 20:02:16 +0000 (22:02 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
src/Protocol/DFRN.php

index 897f6a8cc5ef30e0e570263c37b8f965df253f51..93cc8f2ab159274756ae45aac8d886017638e706 100644 (file)
@@ -1974,9 +1974,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(