mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
fix try catch
This commit is contained in:
parent
53e405c4f8
commit
c9dd151b91
|
|
@ -77,7 +77,7 @@ class Grocycode
|
||||||
$gc = new self($code);
|
$gc = new self($code);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (\Exception $e)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user