Bug #2279
Code that checks for duplicated domain is incomplete
Start date:
November 12, 2015
Due date:
% Done:
100%
Estimated time:
Description
Here is he code for checking duplicate domain names, but related configuration options don't exist.
if (iaCore::ACTION_ADD == $pageAction && $iaCore->get('duplicate_checking')) { $check = $iaCore->get('duplicate_type') == 'domain' ? $item['domain'] : $item['url']; $status = $iaListing->checkDuplicateListings($check, $iaCore->get('duplicate_type')); if ($status == 'banned') { $error = true; $messages[] = iaLanguage::get('error_banned'); } elseif ($status) { $error = true; $messages[] = iaLanguage::get('error_listing_present'); } }
This code block doesn't work as duplicate_checking and duplicate_type params don't exist.
History
Updated by Vasily Bezruchkin almost 5 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100