fix issue with wrong object init!

This commit is contained in:
Matthias Pfefferle 2023-12-21 17:27:43 +01:00
parent 45e6ace890
commit a3ea9955d9

View file

@ -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