24efa0de82
It's possible for the route to be null (no match) which leads to an error like: ``` appwrite | [Error] Timestamp: 2023-08-30T21:39:58+00:00 appwrite | [Error] Type: Error appwrite | [Error] Message: Call to a member function label() on null appwrite | [Error] File: /usr/src/code/app/controllers/general.php appwrite | [Error] Line: 50 ``` This adds a null check to prevent the error. |
||
---|---|---|
.. | ||
assets | ||
config | ||
console@88b6d59051 | ||
controllers | ||
views | ||
workers | ||
cli.php | ||
http.php | ||
init.php | ||
preload.php | ||
realtime.php | ||
worker.php |