mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Remove verbosity
This commit is contained in:
@@ -960,7 +960,7 @@ class Collection implements ControllerProviderInterface
|
||||
try {
|
||||
if ('' !== trim($prefs)) {
|
||||
$domdoc = new \DOMDocument();
|
||||
if (true === $domdoc->loadXML($prefs)) {
|
||||
if (true === @$domdoc->loadXML($prefs)) {
|
||||
$collection->set_prefs($domdoc);
|
||||
$success = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user