mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -457,7 +457,7 @@ class Basket
|
||||
$totSize += $basket_element->getRecord($app)
|
||||
->get_subdef('document')
|
||||
->get_size();
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user