Skip to content

Commit

Permalink
fix issue with wrong object init!
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Dec 21, 2023
1 parent 45e6ace commit a3ea995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/activity/class-activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class Activity extends Base_Object {
public function set_object( $object ) {
// convert array to object
if ( is_array( $object ) ) {
$object = Base_Object::init_from_array( $object );
$object = self::init_from_array( $object );
}

// set object
Expand Down

0 comments on commit a3ea995

Please sign in to comment.