@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | return $this->db->setQuery( |
65 | 65 | $this->db->getQuery(true) |
66 | 66 | ->select('*') |
67 | - ->from($this->db->quoteName('#__jstats_counter_' . $column)) |
|
67 | + ->from($this->db->quoteName('#__jstats_counter_'.$column)) |
|
68 | 68 | )->loadAssocList(); |
69 | 69 | } |
70 | 70 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $return[$column] = $this->db->setQuery( |
76 | 76 | $this->db->getQuery(true) |
77 | 77 | ->select('*') |
78 | - ->from($this->db->quoteName('#__jstats_counter_' . $column)) |
|
78 | + ->from($this->db->quoteName('#__jstats_counter_'.$column)) |
|
79 | 79 | )->loadAssocList(); |
80 | 80 | } |
81 | 81 | |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | $return[$column] = $this->db->setQuery( |
101 | 101 | $this->db->getQuery(true) |
102 | 102 | ->select($column) |
103 | - ->select('COUNT(' . $column . ') AS count') |
|
103 | + ->select('COUNT('.$column.') AS count') |
|
104 | 104 | ->from($this->db->quoteName('#__jstats')) |
105 | 105 | ->where('modified BETWEEN DATE_SUB(NOW(), INTERVAL 90 DAY) AND NOW()') |
106 | 106 | ->group($column) |
@@ -112,11 +112,11 @@ discard block |
||
112 | 112 | { |
113 | 113 | $return['cms_php_version'] = $this->db->setQuery( |
114 | 114 | $this->db->getQuery(true) |
115 | - ->select('CONCAT(' . $this->db->quoteName('cms_version') . ', ' . $this->db->quote(' - ') . ', ' . $this->db->quoteName('php_version') . ') AS cms_php_version') |
|
115 | + ->select('CONCAT('.$this->db->quoteName('cms_version').', '.$this->db->quote(' - ').', '.$this->db->quoteName('php_version').') AS cms_php_version') |
|
116 | 116 | ->select('COUNT(*) AS count') |
117 | 117 | ->from($this->db->quoteName('#__jstats')) |
118 | 118 | ->where('modified BETWEEN DATE_SUB(NOW(), INTERVAL 90 DAY) AND NOW()') |
119 | - ->group('CONCAT(' . $this->db->quoteName('cms_version') . ', ' . $this->db->quote(' - ') . ', ' . $this->db->quoteName('php_version') . ')') |
|
119 | + ->group('CONCAT('.$this->db->quoteName('cms_version').', '.$this->db->quote(' - ').', '.$this->db->quoteName('php_version').')') |
|
120 | 120 | )->loadAssocList(); |
121 | 121 | continue; |
122 | 122 | } |
@@ -125,11 +125,11 @@ discard block |
||
125 | 125 | { |
126 | 126 | $return['db_type_version'] = $this->db->setQuery( |
127 | 127 | $this->db->getQuery(true) |
128 | - ->select('CONCAT(' . $this->db->quoteName('db_type') . ', ' . $this->db->quote(' - ') . ', ' . $this->db->quoteName('db_version') . ') AS db_type_version') |
|
128 | + ->select('CONCAT('.$this->db->quoteName('db_type').', '.$this->db->quote(' - ').', '.$this->db->quoteName('db_version').') AS db_type_version') |
|
129 | 129 | ->select('COUNT(*) AS count') |
130 | 130 | ->from($this->db->quoteName('#__jstats')) |
131 | 131 | ->where('modified BETWEEN DATE_SUB(NOW(), INTERVAL 90 DAY) AND NOW()') |
132 | - ->group('CONCAT(' . $this->db->quoteName('db_type') . ', ' . $this->db->quote(' - ') . ', ' . $this->db->quoteName('db_version') . ')') |
|
132 | + ->group('CONCAT('.$this->db->quoteName('db_type').', '.$this->db->quote(' - ').', '.$this->db->quoteName('db_version').')') |
|
133 | 133 | )->loadAssocList(); |
134 | 134 | continue; |
135 | 135 | } |