From 3b2679db29077c33912edb085a24906708ad97ee Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 29 May 2016 18:38:24 -0700 Subject: fix remote_channel(), update php minversion requirement --- include/import.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index a94c6c1ac..132306621 100644 --- a/include/import.php +++ b/include/import.php @@ -20,6 +20,8 @@ function import_channel($channel, $account_id, $seize) { dbesc($channel['channel_hash']), dbesc($channel['channel_address']) ); + if($r && $r[0]['channel_guid'] == $channel['channel_guid'] && $r[0]['channel_pubkey'] === $channel['channel_pubkey'] && $r[0]['channel_hash'] === $channel['channel_hash']) + return $r[0]; if(($r) || (check_webbie(array($channel['channel_address'])) !== $channel['channel_address'])) { if($r[0]['channel_guid'] === $channel['channel_guid'] || $r[0]['channel_hash'] === $channel['channel_hash']) { -- cgit v1.2.3