issue #386 (master)
This commit is contained in:
parent
a0dd03ea0e
commit
0d04a1221a
@ -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);
|
||||
|
Reference in New Issue
Block a user