Couple of tiny changes

This commit is contained in:
Pinga 2024-03-05 23:41:20 +02:00
parent 7482e77c1c
commit 420bd952f8
4 changed files with 18 additions and 8 deletions

View file

@ -1027,6 +1027,7 @@ class SystemController extends Controller
}
$db = $this->container->get('db');
$uri = $request->getUri()->getPath();
$typesResult = $db->select("SELECT DISTINCT type FROM reserved_domain_names");
// Initialize $types as an empty array if the query result is null