]> git.agnieray.net Git - galette.git/commitdiff
Fix namespace issue
authorJohan Cwiklinski <johan@x-tnd.be>
Wed, 7 Oct 2020 04:18:28 +0000 (06:18 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Wed, 7 Oct 2020 04:18:28 +0000 (06:18 +0200)
galette/lib/Galette/Controllers/PluginsController.php

index a965c2518a67976eb5e7a703eaed57760332dcc5..20035b1daff6ae8e33b656e64ce41e66ba500641 100644 (file)
@@ -321,7 +321,7 @@ class PluginsController extends AbstractController
                             );
                             $messages['success'][] = $w1 . ' ' . $w2 . ' ' . $w3 .
                                 ' ' . $extra;
-                        } catch (Exception $e) {
+                        } catch (\Exception $e) {
                             Analog::log(
                                 'Error executing query | ' . $e->getMessage() .
                                 ' | Query was: ' . $query,