From: Raphaƫl Gertz <git@rapsys.eu>
Date: Sat, 28 Aug 2021 09:00:37 +0000 (+0200)
Subject: Retrieve hat from snippet
X-Git-Tag: 0.2.0~7
X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/f4442f80a5fd479a2d851ea5284fbe7f8f691cec?ds=inline

Retrieve hat from snippet
---

diff --git a/Repository/SessionRepository.php b/Repository/SessionRepository.php
index 2cb2b26..dd89a98 100644
--- a/Repository/SessionRepository.php
+++ b/Repository/SessionRepository.php
@@ -195,6 +195,7 @@ SELECT
 	p.description AS p_description,
 	p.class AS p_class,
 	p.short AS p_short,
+	p.hat AS p_hat,
 	p.rate AS p_rate,
 	p.contact AS p_contact,
 	p.donate AS p_donate,
@@ -243,6 +244,7 @@ SQL;
 			->addScalarResult('p_description', 'p_description', 'string')
 			->addScalarResult('p_class', 'p_class', 'string')
 			->addScalarResult('p_short', 'p_short', 'string')
+			->addScalarResult('p_hat', 'p_hat', 'integer')
 			->addScalarResult('p_rate', 'p_rate', 'integer')
 			->addScalarResult('p_contact', 'p_contact', 'string')
 			->addScalarResult('p_donate', 'p_donate', 'string')