mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -196,7 +196,7 @@ class caption_record implements caption_interface, cache_cacheableInterface
|
||||
$fields = array();
|
||||
try {
|
||||
$fields = $this->get_data_from_cache();
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
$sql = "SELECT m.id as meta_id, s.id as structure_id
|
||||
FROM metadatas m, metadatas_structure s
|
||||
WHERE m.record_id = :record_id AND s.id = m.meta_struct_id
|
||||
|
Reference in New Issue
Block a user