Skip to content

CIVICRM-872: Fixing installation error on CiviCRM 4.6.36

rajeshs requested to merge github/fork/agileware/CIVICRM-872 into master

Created by: agilewarealok

When installing GDPR extension version 2.5 on CiviCRM 4.6.36, a following db error is thrown.

Incorrect datetime value: '2018' for column 'created_date' at row 1

Proposed fix

We've converted Date/Time string format from Y-m-d H:i:s to YmdHis. This fixes issue in 4.6.36 and works in 4.7 and 5.0 as well.

Merge request reports