Project

General

Profile

Bug #565

Incorrect incrementViewsCounter implementation

Added by Vasily Bezruchkin almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
Core
Target version:
Start date:
January 14, 2013
Due date:
% Done:

100%

Estimated time:

Description

Exists validates for date(iaDb::DATE_FORMAT)), but MySQL date could be different. As a fact we have the following:

Duplicate entry 'autos-1-2130706433-2013-01-15' for key 'UNIQUE'
INSERT INTO `sbr_views_log` SET `item` = 'autos', `item_id` = '1', `ip` = '2130706433', `date` = NOW()

History

#1

Updated by Batyr Mackenov almost 8 years ago

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

Fixed. commit:ca51cd01

Also available in: Atom PDF