diff --git a/components/ILIAS/COPage/classes/class.ilPageObject.php b/components/ILIAS/COPage/classes/class.ilPageObject.php index 4e98f1bd6b59..f8657451a09e 100755 --- a/components/ILIAS/COPage/classes/class.ilPageObject.php +++ b/components/ILIAS/COPage/classes/class.ilPageObject.php @@ -631,6 +631,14 @@ public static function _lookupActivationData( array($a_id, $a_parent_type, $a_lang) ); $rec = $db->fetchAssoc($set); + if (!$rec) { + return [ + "active" => 1, + "activation_start" => null, + "activation_end" => null, + "show_activation_info" => 0 + ]; + } } return $rec;