diff --git a/src/Model/Item.php b/src/Model/Item.php index fb9fe984d3..3086a869be 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -107,7 +107,7 @@ class Item extends BaseObject */ private static function indexToActivity($index) { - if (!is_int($index) || !array_key_exists($index, self::ACTIVITIES)) { + if (is_null($index) || !array_key_exists($index, self::ACTIVITIES)) { return ''; }