Skip to content
Snippets Groups Projects
Commit f2039e05 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Silence failures we don't care about.

parent 38cb6577
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ class Metadata
public static function isHiddenFromDiscovery(array $metadata)
{
try {
return in_array(self::$HIDE_FROM_DISCOVERY, $metadata['EntityAttributes'][self::$ENTITY_CATEGORY]);
return @in_array(self::$HIDE_FROM_DISCOVERY, $metadata['EntityAttributes'][self::$ENTITY_CATEGORY]);
} catch (\Exception $e) {
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment