Browse Source

Bug in weergeven groepsnaam bij uitslag.

master
Rogier Neeleman 8 years ago
parent
commit
067d650a85
  1. 1
      application/models/Uitslag_model.php

1
application/models/Uitslag_model.php

@ -42,6 +42,7 @@ class Uitslag_model extends CI_Model @@ -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();

Loading…
Cancel
Save