Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2.3
-
Fix Version/s: 3.2.4
-
Component/s: CiviCRM API
-
Labels:None
Description
The modified_date parameter is ignored when using civicrm_note_create(). A new note is always set to the current date (line 103 in CRM/Core/BAO/Note.php in add()). This presents a problem when importing from another CRM and the user wants to preserve the original note date.
Suggest moving the check in lines 78-80 of api/v2/Note.php:
if ( !isset($params['modified_date']) )
to CRM/Core/BAO/Note.php.