Browse Source

Bug in database tabel prefix

master
Rogier Neeleman 8 years ago
parent
commit
8dbd4c1dec
  1. 2
      application/models/Uitslag_model.php

2
application/models/Uitslag_model.php

@ -45,7 +45,7 @@ class Uitslag_model extends CI_Model
public function get_subgroep_punten($subgroepid) public function get_subgroep_punten($subgroepid)
{ {
$this->db->select('SUM(resultaat.score/lijst.ronde) AS score, $this->db->select('SUM('.$this->db->dbprefix('resultaat').'.score/'.$this->db->dbprefix('lijst').'.ronde) AS score,
spelgebied.id AS spelgebiedid, spelgebied.id AS spelgebiedid,
'); ');
$this->db->from('resultaat'); $this->db->from('resultaat');

Loading…
Cancel
Save