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:
@@ -340,7 +340,7 @@ class caption_field implements cache_cacheableInterface
|
||||
*/
|
||||
$app['phraseanet.SE']->updateRecord($record);
|
||||
unset($record);
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -394,7 +394,7 @@ class caption_field implements cache_cacheableInterface
|
||||
$app['phraseanet.SE']->updateRecord($record);
|
||||
unset($caption_field);
|
||||
unset($record);
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user