diff options
author | redmatrix <git@macgirvin.com> | 2016-05-16 19:38:38 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-16 19:38:38 -0700 |
commit | 0d04a1221ab5f9f1486768798ce64e2c0405f135 (patch) | |
tree | 918dbb4b1f97ddcfd343c01e03efa6f98660e1fb | |
parent | a0dd03ea0e69fa68f7ba856e2e3ee63a5c1abf49 (diff) | |
download | volse-hubzilla-0d04a1221ab5f9f1486768798ce64e2c0405f135.tar.gz volse-hubzilla-0d04a1221ab5f9f1486768798ce64e2c0405f135.tar.bz2 volse-hubzilla-0d04a1221ab5f9f1486768798ce64e2c0405f135.zip |
issue #386 (master)
-rw-r--r-- | include/import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php index 46c8057b6..00058047e 100644 --- a/include/import.php +++ b/include/import.php @@ -21,7 +21,7 @@ function import_channel($channel, $account_id, $seize) { dbesc($channel['channel_address']) ); - if(($r) || (check_webbie(array($channel['channel_hash'])) !== $channel['channel_hash'])) { + 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']) { logger('mod_import: duplicate channel. ', print_r($channel,true)); notice( t('Cannot create a duplicate channel identifier on this system. Import failed.') . EOL); |