Browse Source

fix sql query in GetAdminStats. fixes #3883

Anthony Woods 10 years ago
parent
commit
79e7ae4424
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/services/sqlstore/stats.go

+ 1 - 1
pkg/services/sqlstore/stats.go

@@ -83,7 +83,7 @@ func GetAdminStats(query *m.GetAdminStatsQuery) error {
         FROM ` + dialect.Quote("playlist") + `
       ) AS playlist_count,
       (
-        SELECT COUNT (DISTINCT ` + dialect.Quote("dashboard_id") + ` )
+        SELECT COUNT(DISTINCT ` + dialect.Quote("dashboard_id") + ` )
         FROM ` + dialect.Quote("star") + `
       ) AS starred_db_count,
       (