mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -81,7 +81,7 @@ class module_report_validate extends module_report
|
||||
try {
|
||||
$user = User_Adapter::getInstance($value, $this->app);
|
||||
$caption = $user->get_display_name();
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
} elseif ($field == 'date') {
|
||||
|
Reference in New Issue
Block a user