Skip to:
Content

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2314 closed defect (bug) (fixed)

Updating Activity record via $activity->save() results in action overwritten

Reported by: nuprn1 Owned by:
Milestone: 1.2.4 Priority: normal
Severity: Version:
Component: Activity Keywords:
Cc:

Description

Using this method to update the date but the action was overwritten with the type value.

	$activity = new BP_Activity_Activity( $activity_id );
	$activity->date_recorded = gmdate( "Y-m-d H:i:s" );
	if ( !$activity->save() )
		return false;

Change History (3)

#1 @johnjamesjacoby
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2936]) Fixes #2314 props nuprn1

#2 @johnjamesjacoby
9 years ago

(In [2963]) Fixes #2314 props jeffsayre

#3 @johnjamesjacoby
9 years ago

Meant to put #2324 in the last fix.

Note: See TracTickets for help on using tickets.