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

index 1b760b0644d71f06a68064da02e46dada1cfc9bc..6a64a82958756f7526f3532e5ef25131a9198c07 100644 (file)
@@ -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(