Fixes Stats (Issue #93) where DIGI QSOs Numbers are incorrect

pull/106/merge
Peter Goodhall 2012-03-29 22:50:08 +01:00
rodzic f79458a99d
commit 5c50428fcc
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -364,7 +364,7 @@ class Logbook_model extends CI_Model {
/* Return total number of Digital QSOs */ /* Return total number of Digital QSOs */
function total_digi() { function total_digi() {
$query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE != \'SSB\' AND (COL_MODE != \'LSB\' or COL_MODE != \'USB\' or COL_MODE != \'CW\' or COL_MODE != \'FM\')'); $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE != \'SSB\' AND COL_MODE != \'LSB\' AND COL_MODE != \'USB\' AND COL_MODE != \'CW\' AND COL_MODE != \'FM\'');
if ($query->num_rows() > 0) if ($query->num_rows() > 0)
{ {