Project

General

Profile

Bug #2279

Code that checks for duplicated domain is incomplete

Added by Batyr Mackenov about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
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

#1

Updated by Vasily Bezruchkin almost 4 years ago

  • Target version changed from 4.0.0 to 4.1.0
#2

Updated by Vasily Bezruchkin almost 4 years ago

  • Target version changed from 4.1.0 to 4.0.1
#3

Updated by Vasily Bezruchkin almost 4 years ago

  • Assignee set to Anonymous
#4

Updated by Anonymous almost 4 years ago

  • Status changed from New to Resolved
#5

Updated by Vasily Bezruchkin almost 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF