]> git.mxchange.org Git - friendica.git/commitdiff
old behaviour restored
authorRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 21:49:05 +0000 (22:49 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 21:49:34 +0000 (22:49 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/dfrn.php

index 1e6cc6e71daab1a4de67628272feb38c9ac32e92..1e1b82e39b03d47d4a361fcf8c99ee6e1a59b84b 100644 (file)
@@ -2103,7 +2103,12 @@ class dfrn {
                                        );
 
                                        if (!dbm::is_result($r)) {
+                                               /*
+                                                * @TODO maybe one day:
+                                               logger("Query failed to execute, no result returned in " . __FUNCTION__);
                                                killme();
+                                               */
+                                               return false;
                                        }
 
                                        // extract tag, if not duplicate, add to parent item
@@ -2551,7 +2556,7 @@ class dfrn {
                                intval($importer["id"])
                        );
                if (!dbm::is_result($r)) {
-                       logger("Item with uri ".$uri." from contact ".$importer["id"]." for user ".$importer["uid"]." wasn't found.", LOGGER_DEBUG);
+                       logger("Item with uri " . $uri . " from contact " . $importer["id"] . " for user " . $importer["uid"] . " wasn't found.", LOGGER_DEBUG);
                        return;
                } else {