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