mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -77,7 +77,7 @@ class registry implements registryInterface
|
||||
$rs = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
$stmt->closeCursor();
|
||||
$loaded = true;
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
foreach ($rs as $row) {
|
||||
|
Reference in New Issue
Block a user