X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..86539ad2f604e27c08750b5d129df5c79f80a088:/Repository/SessionRepository.php?ds=inline

diff --git a/Repository/SessionRepository.php b/Repository/SessionRepository.php
index e295bfd..9ffaf02 100644
--- a/Repository/SessionRepository.php
+++ b/Repository/SessionRepository.php
@@ -31,7 +31,7 @@ class SessionRepository extends \Doctrine\ORM\EntityRepository {
 	 *
 	 * @param $period The date period
 	 */
-	public function findByDatePeriod($period) {
+	public function findAllByDatePeriod($period) {
 		//Fetch sessions
 		$ret = $this->getEntityManager()
 			->createQuery('SELECT s FROM RapsysAirBundle:Session s WHERE s.date BETWEEN :begin AND :end')