fix issue with wrong object init!
This commit is contained in:
parent
45e6ace890
commit
a3ea9955d9
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class Activity extends Base_Object {
|
||||||
public function set_object( $object ) {
|
public function set_object( $object ) {
|
||||||
// convert array to object
|
// convert array to object
|
||||||
if ( is_array( $object ) ) {
|
if ( is_array( $object ) ) {
|
||||||
$object = Base_Object::init_from_array( $object );
|
$object = self::init_from_array( $object );
|
||||||
}
|
}
|
||||||
|
|
||||||
// set object
|
// set object
|
||||||
|
|
Loading…
Reference in a new issue