From 7526afcf1325fd0d5d26a84dadd39f626f5275d5 Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Fri, 24 Mar 2017 20:39:00 +0100
Subject: [PATCH] Continued: - converted multiple single-line comments into one
 multi-line comment (please   stop abusing programming languages!) - added
 more TODO tags for type-hints (upcoming rewrite) - opps, one space was only
 fixed in develop branch, not in this PR branch

Signed-off-by: Roland Haeder <roland@mxchange.org>
---
 src/Protocol/DFRN.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php
index 1c9238bb8..00cae469f 100644
--- a/src/Protocol/DFRN.php
+++ b/src/Protocol/DFRN.php
@@ -2108,6 +2108,11 @@ class DFRN
 
 		logger('Contacts are updated.');
 
+		/// @TODO decide to use dbm::is_result() here
+		if ($x === false) {
+			return false;
+		}
+
 		// update items
 		// This is an extreme performance killer
 		Item::update(['owner-link' => $relocate["url"]], ['owner-link' => $old["url"], 'uid' => $importer["importer_uid"]]);