From 337824f649cc2ded7a304765f51e69b7db224805 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 14 Apr 2017 16:59:51 +0200 Subject: [PATCH] Continued: - added curly braces/spaces - added TODOs (type-hints, old-lost code) - more usage of dbm::is_result() - combined some if() return stuff into a simple return statement Signed-off-by: Roland Haeder --- include/items.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/items.php b/include/items.php index af13898b24..1cfad356c2 100644 --- a/include/items.php +++ b/include/items.php @@ -274,6 +274,7 @@ function consume_feed($xml, $importer, $contact, &$hub, $datedir = 0, $pass = 0) function subscribe_to_hub($url, $importer, $contact, $hubmode = 'subscribe') { $a = get_app(); + $r = null; if (is_array($importer)) { $r = q("SELECT `nickname` FROM `user` WHERE `uid` = %d LIMIT 1",