Commit e5110ea5 authored by cividesk's avatar cividesk

Query fix

parent 722bc8d8
......@@ -56,7 +56,7 @@ $queries[] = array(
$queries[] = array(
'file' => 'active-sites-server-php.json',
'query' => "
SELECT CASE CONCAT(LEFT(PHP, LOCATE('.', PHP, 4) - 1) AS short_version, COUNT(*) AS num_sites
SELECT LEFT(PHP, LOCATE('.', PHP, 4) - 1) AS short_version, COUNT(*) AS num_sites
FROM pingback_site
WHERE is_active = 1
GROUP BY short_version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment