fix activity
This commit is contained in:
parent
465a912a70
commit
be6d8a1792
1 changed files with 2 additions and 2 deletions
|
@ -196,8 +196,8 @@ class Activity extends Base_Object {
|
||||||
$this->set( 'updated', $object->get_updated() );
|
$this->set( 'updated', $object->get_updated() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $object->attributed_to() && ! $this->get_actor() ) {
|
if ( $object->get_attributed_to() && ! $this->get_actor() ) {
|
||||||
$this->set( 'actor', $object->attributed_to() );
|
$this->set( 'actor', $object->get_attributed_to() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $object->get_id() && ! $this->get_id() ) {
|
if ( $object->get_id() && ! $this->get_id() ) {
|
||||||
|
|
Loading…
Reference in a new issue