From c9dd151b914d98bb5d47d6538ee43eb325800a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20St=C3=B6ckel?= Date: Fri, 6 Aug 2021 13:17:56 +0200 Subject: [PATCH] fix try catch --- helpers/Grocycode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/Grocycode.php b/helpers/Grocycode.php index 3f9af599..dbdbecf0 100644 --- a/helpers/Grocycode.php +++ b/helpers/Grocycode.php @@ -77,7 +77,7 @@ class Grocycode $gc = new self($code); return true; } - catch (Exception $e) + catch (\Exception $e) { return false; }