From d8eee2be554441ef825249ec89d6fa4ad95c6f11 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 23 Mar 2017 22:33:12 +0100 Subject: [PATCH] added curely branches + reverted back to old behaviour (may come back one day) Signed-off-by: Roland Haeder --- include/dfrn.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/dfrn.php b/include/dfrn.php index aa8c0b5ec..71ffd886b 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1740,7 +1740,12 @@ class dfrn { intval($importer["importer_uid"])); if (!dbm::is_result($r)) { + /* + * @TODO maybe one day: + logger("Query failed to execute, no result returned in " . __FUNCTION__); killme(); + */ + return false; } $old = $r[0];