From 067d650a85ad690e562763c56b01a87a4e870ef5 Mon Sep 17 00:00:00 2001 From: Rogier Neeleman Date: Sun, 10 Apr 2016 13:18:38 +0200 Subject: [PATCH] Bug in weergeven groepsnaam bij uitslag. --- application/models/Uitslag_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Uitslag_model.php b/application/models/Uitslag_model.php index 50280b1..9594c14 100644 --- a/application/models/Uitslag_model.php +++ b/application/models/Uitslag_model.php @@ -42,6 +42,7 @@ class Uitslag_model extends CI_Model $this->db->from('subgroep'); $this->db->where('subgroep.regioid', $this->session->regio); $this->db->where('subgroep.jaar', date('Y')); + $this->db->where('subgroep.id', $subgroepid); $this->db->join('groep', 'subgroep.groepid=groep.id', 'left'); $query = $this->db->get();