r69823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69822‎ | r69823 | r69824 >
Date:00:17, 24 July 2010
Author:kaldari
Status:deferred
Tags:
Comment:
Forgot a patch to CiviCRM for time fix
Modified paths:
  • /civicrm/trunk/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php
@@ -570,7 +570,7 @@
571571 }
572572 }
573573
574 - if ( !CRM_Utils_Array::value( 'receive_date', $defaults ) ) {
 574+ if ( !$this->_id && !CRM_Utils_Array::value( 'receive_date', $defaults ) ) {
575575 list( $defaults['receive_date'],
576576 $defaults['receive_date_time'] ) = CRM_Utils_Date::setDateDefaults( null, 'activityDateTime' );
577577 }

Status & tagging log