Project

General

Profile

Actions

Bug #4944

closed

Delete entry in ProfileBook broken in ProfileBook 2.0

Added by beat about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
16 December 2014
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

Trying to delete an entry gives:

1054 Unknown column 'Array' in 'where clause' SQL=DELETE FROM `***_comprofiler_plug_profilebook` WHERE Array = 

due to wrong index setting in CB ProfileBook.

Actions #1

Updated by beat about 10 years ago

Fix is easy:

In file cb.profilebook.php, line 154 should be:

    protected $_tbl_key        =    array( 'id' => 'int' );

Actions #2

Updated by beat about 10 years ago

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

Fixed in Commit 3c31f91dc6c3f6236a4ed6c707cfd768c9d78d80

Actions

Also available in: Atom PDF